Skip to content
Vectorlight.net

#cc0fc2

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

HEX
#cc0fc2
RGB
204, 15, 194
HSL
303.17°, 86.3%, 42.94%
OKLCH
0.59 0.26 331.04
Names
—
Lists

Codes

FormatValue
HEX#cc0fc2
RGBrgb(204 15 194)
HSLhsl(303.17 86.3% 42.94%)
OKLCHoklch(0.59 0.26 331.04)
CMYKcmyk(0% 92.65% 4.9% 20%)
Android#ffcc0fc2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#cc0fc2"
Gradient stop
<stop stop-color="#cc0fc2"/>
CSS variable + fill
:root { --c: #cc0fc2; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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