Skip to content
Vectorlight.net

#cc52ee

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

HEX
#cc52ee
RGB
204, 82, 238
HSL
286.92°, 82.11%, 62.75%
OKLCH
0.66 0.24 318.11
Names
—
Lists

Codes

FormatValue
HEX#cc52ee
RGBrgb(204 82 238)
HSLhsl(286.92 82.11% 62.75%)
OKLCHoklch(0.66 0.24 318.11)
CMYKcmyk(14.29% 65.55% 0% 6.67%)
Android#ffcc52ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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