Skip to content
Vectorlight.net

#cd52d1

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

HEX
#cd52d1
RGB
205, 82, 209
HSL
298.11°, 57.99%, 57.06%
OKLCH
0.65 0.21 326.44
Names
—
Lists

Codes

FormatValue
HEX#cd52d1
RGBrgb(205 82 209)
HSLhsl(298.11 57.99% 57.06%)
OKLCHoklch(0.65 0.21 326.44)
CMYKcmyk(1.91% 60.77% 0% 18.04%)
Android#ffcd52d1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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