Skip to content
Vectorlight.net

#cc6fff

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

HEX
#cc6fff
RGB
204, 111, 255
HSL
278.75°, 100%, 71.76%
OKLCH
0.71 0.22 311.94
Names
—
Lists

Codes

FormatValue
HEX#cc6fff
RGBrgb(204 111 255)
HSLhsl(278.75 100% 71.76%)
OKLCHoklch(0.71 0.22 311.94)
CMYKcmyk(20% 56.47% 0% 0%)
Android#ffcc6fff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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