Skip to content
Vectorlight.net

#cc51da

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

HEX
#cc51da
RGB
204, 81, 218
HSL
293.87°, 64.93%, 58.63%
OKLCH
0.65 0.22 323.49
Names
—
Lists

Codes

FormatValue
HEX#cc51da
RGBrgb(204 81 218)
HSLhsl(293.87 64.93% 58.63%)
OKLCHoklch(0.65 0.22 323.49)
CMYKcmyk(6.42% 62.84% 0% 14.51%)
Android#ffcc51da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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