Skip to content
Vectorlight.net

#cc5def

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

HEX
#cc5def
RGB
204, 93, 239
HSL
285.62°, 82.02%, 65.1%
OKLCH
0.67 0.23 317.24
Names
—
Lists

Codes

FormatValue
HEX#cc5def
RGBrgb(204 93 239)
HSLhsl(285.62 82.02% 65.1%)
OKLCHoklch(0.67 0.23 317.24)
CMYKcmyk(14.64% 61.09% 0% 6.27%)
Android#ffcc5def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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