Skip to content
Vectorlight.net

#cc5ee4

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

HEX
#cc5ee4
RGB
204, 94, 228
HSL
289.25°, 71.28%, 63.14%
OKLCH
0.67 0.21 320.11
Names
—
Lists

Codes

FormatValue
HEX#cc5ee4
RGBrgb(204 94 228)
HSLhsl(289.25 71.28% 63.14%)
OKLCHoklch(0.67 0.21 320.11)
CMYKcmyk(10.53% 58.77% 0% 10.59%)
Android#ffcc5ee4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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