Skip to content
Vectorlight.net

#cc56ee

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

HEX
#cc56ee
RGB
204, 86, 238
HSL
286.58°, 81.72%, 63.53%
OKLCH
0.66 0.23 317.9
Names
—
Lists

Codes

FormatValue
HEX#cc56ee
RGBrgb(204 86 238)
HSLhsl(286.58 81.72% 63.53%)
OKLCHoklch(0.66 0.23 317.9)
CMYKcmyk(14.29% 63.87% 0% 6.67%)
Android#ffcc56ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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