Skip to content
Vectorlight.net

#d531cd

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

HEX
#d531cd
RGB
213, 49, 205
HSL
302.93°, 66.13%, 51.37%
OKLCH
0.63 0.25 330.31
Names
—
Lists

Codes

FormatValue
HEX#d531cd
RGBrgb(213 49 205)
HSLhsl(302.93 66.13% 51.37%)
OKLCHoklch(0.63 0.25 330.31)
CMYKcmyk(0% 77% 3.76% 16.47%)
Android#ffd531cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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