Skip to content
Vectorlight.net

#cb52dc

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

HEX
#cb52dc
RGB
203, 82, 220
HSL
292.61°, 66.35%, 59.22%
OKLCH
0.65 0.22 322.56
Names
—
Lists

Codes

FormatValue
HEX#cb52dc
RGBrgb(203 82 220)
HSLhsl(292.61 66.35% 59.22%)
OKLCHoklch(0.65 0.22 322.56)
CMYKcmyk(7.73% 62.73% 0% 13.73%)
Android#ffcb52dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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