Skip to content
Vectorlight.net

#d52dcd

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

HEX
#d52dcd
RGB
213, 45, 205
HSL
302.86°, 66.67%, 50.59%
OKLCH
0.62 0.26 330.32
Names
—
Lists

Codes

FormatValue
HEX#d52dcd
RGBrgb(213 45 205)
HSLhsl(302.86 66.67% 50.59%)
OKLCHoklch(0.62 0.26 330.32)
CMYKcmyk(0% 78.87% 3.76% 16.47%)
Android#ffd52dcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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