Skip to content
Vectorlight.net

#cc5bf6

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#cc5bf6
RGB
204, 91, 246
HSL
283.74°, 89.6%, 66.08%
OKLCH
0.68 0.23 315.64
Names
—
Lists

Codes

FormatValue
HEX#cc5bf6
RGBrgb(204 91 246)
HSLhsl(283.74 89.6% 66.08%)
OKLCHoklch(0.68 0.23 315.64)
CMYKcmyk(17.07% 63.01% 0% 3.53%)
Android#ffcc5bf6

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.39:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#cc5bf6"
Gradient stop
<stop stop-color="#cc5bf6"/>
CSS variable + fill
:root { --c: #cc5bf6; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #cc5bf6;
background-color: #cc5bf6;
bg-[#cc5bf6]