Skip to content
Vectorlight.net

#cc6fea

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

HEX
#cc6fea
RGB
204, 111, 234
HSL
285.37°, 74.55%, 67.65%
OKLCH
0.69 0.19 317.34
Names
—
Lists

Codes

FormatValue
HEX#cc6fea
RGBrgb(204 111 234)
HSLhsl(285.37 74.55% 67.65%)
OKLCHoklch(0.69 0.19 317.34)
CMYKcmyk(12.82% 52.56% 0% 8.24%)
Android#ffcc6fea

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.02: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="#cc6fea"
Gradient stop
<stop stop-color="#cc6fea"/>
CSS variable + fill
:root { --c: #cc6fea; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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