Skip to content
Vectorlight.net

#cc66ff

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

HEX
#cc66ff
RGB
204, 102, 255
HSL
280°, 100%, 70%
OKLCH
0.69 0.23 312.73
Names
—
Lists

Codes

FormatValue
HEX#cc66ff
RGBrgb(204 102 255)
HSLhsl(280 100% 70%)
OKLCHoklch(0.69 0.23 312.73)
CMYKcmyk(20% 60% 0% 0%)
Android#ffcc66ff

Names & lists

Web-safe: Yes

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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