Skip to content
Vectorlight.net

#cc54ee

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

HEX
#cc54ee
RGB
204, 84, 238
HSL
286.75°, 81.91%, 63.14%
OKLCH
0.66 0.24 318.01
Names
—
Lists

Codes

FormatValue
HEX#cc54ee
RGBrgb(204 84 238)
HSLhsl(286.75 81.91% 63.14%)
OKLCHoklch(0.66 0.24 318.01)
CMYKcmyk(14.29% 64.71% 0% 6.67%)
Android#ffcc54ee

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.07: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="#cc54ee"
Gradient stop
<stop stop-color="#cc54ee"/>
CSS variable + fill
:root { --c: #cc54ee; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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