Skip to content
Vectorlight.net

#d052cd

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

HEX
#d052cd
RGB
208, 82, 205
HSL
301.43°, 57.27%, 56.86%
OKLCH
0.65 0.21 328.64
Names
—
Lists

Codes

FormatValue
HEX#d052cd
RGBrgb(208 82 205)
HSLhsl(301.43 57.27% 56.86%)
OKLCHoklch(0.65 0.21 328.64)
CMYKcmyk(0% 60.58% 1.44% 18.43%)
Android#ffd052cd

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="#d052cd"
Gradient stop
<stop stop-color="#d052cd"/>
CSS variable + fill
:root { --c: #d052cd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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