Skip to content
Vectorlight.net

#cc0ed2

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

HEX
#cc0ed2
RGB
204, 14, 210
HSL
298.16°, 87.5%, 43.92%
OKLCH
0.6 0.27 326.75
Names
—
Lists

Codes

FormatValue
HEX#cc0ed2
RGBrgb(204 14 210)
HSLhsl(298.16 87.5% 43.92%)
OKLCHoklch(0.6 0.27 326.75)
CMYKcmyk(2.86% 93.33% 0% 17.65%)
Android#ffcc0ed2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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