Skip to content
Vectorlight.net

#cc24dc

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

HEX
#cc24dc
RGB
204, 36, 220
HSL
294.78°, 72.44%, 50.2%
OKLCH
0.61 0.27 324
Names
—
Lists

Codes

FormatValue
HEX#cc24dc
RGBrgb(204 36 220)
HSLhsl(294.78 72.44% 50.2%)
OKLCHoklch(0.61 0.27 324)
CMYKcmyk(7.27% 83.64% 0% 13.73%)
Android#ffcc24dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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