Skip to content
Vectorlight.net

#cc54ef

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

HEX
#cc54ef
RGB
204, 84, 239
HSL
286.45°, 82.89%, 63.33%
OKLCH
0.66 0.24 317.76
Names
—
Lists

Codes

FormatValue
HEX#cc54ef
RGBrgb(204 84 239)
HSLhsl(286.45 82.89% 63.33%)
OKLCHoklch(0.66 0.24 317.76)
CMYKcmyk(14.64% 64.85% 0% 6.27%)
Android#ffcc54ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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