Skip to content
Vectorlight.net

#cc54de

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

HEX
#cc54de
RGB
204, 84, 222
HSL
292.17°, 67.65%, 60%
OKLCH
0.65 0.22 322.25
Names
—
Lists

Codes

FormatValue
HEX#cc54de
RGBrgb(204 84 222)
HSLhsl(292.17 67.65% 60%)
OKLCHoklch(0.65 0.22 322.25)
CMYKcmyk(8.11% 62.16% 0% 12.94%)
Android#ffcc54de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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