Skip to content
Vectorlight.net

#cc55ed

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

HEX
#cc55ed
RGB
204, 85, 237
HSL
286.97°, 80.85%, 63.14%
OKLCH
0.66 0.23 318.21
Names
—
Lists

Codes

FormatValue
HEX#cc55ed
RGBrgb(204 85 237)
HSLhsl(286.97 80.85% 63.14%)
OKLCHoklch(0.66 0.23 318.21)
CMYKcmyk(13.92% 64.14% 0% 7.06%)
Android#ffcc55ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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