Skip to content
Vectorlight.net

#d52edd

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

HEX
#d52edd
RGB
213, 46, 221
HSL
297.26°, 72.02%, 52.35%
OKLCH
0.63 0.27 326.05
Names
—
Lists

Codes

FormatValue
HEX#d52edd
RGBrgb(213 46 221)
HSLhsl(297.26 72.02% 52.35%)
OKLCHoklch(0.63 0.27 326.05)
CMYKcmyk(3.62% 79.19% 0% 13.33%)
Android#ffd52edd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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