Skip to content
Vectorlight.net

#cd52aa

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

HEX
#cd52aa
RGB
205, 82, 170
HSL
317.07°, 55.16%, 56.27%
OKLCH
0.63 0.18 340.29
Names
—
Lists

Codes

FormatValue
HEX#cd52aa
RGBrgb(205 82 170)
HSLhsl(317.07 55.16% 56.27%)
OKLCHoklch(0.63 0.18 340.29)
CMYKcmyk(0% 60% 17.07% 19.61%)
Android#ffcd52aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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