Skip to content
Vectorlight.net

#cd52bc

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

HEX
#cd52bc
RGB
205, 82, 188
HSL
308.29°, 55.16%, 56.27%
OKLCH
0.64 0.2 333.4
Names
—
Lists

Codes

FormatValue
HEX#cd52bc
RGBrgb(205 82 188)
HSLhsl(308.29 55.16% 56.27%)
OKLCHoklch(0.64 0.2 333.4)
CMYKcmyk(0% 60% 8.29% 19.61%)
Android#ffcd52bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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