Skip to content
Vectorlight.net

#d21fdc

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

HEX
#d21fdc
RGB
210, 31, 220
HSL
296.83°, 75.3%, 49.22%
OKLCH
0.62 0.27 325.68
Names
—
Lists

Codes

FormatValue
HEX#d21fdc
RGBrgb(210 31 220)
HSLhsl(296.83 75.3% 49.22%)
OKLCHoklch(0.62 0.27 325.68)
CMYKcmyk(4.55% 85.91% 0% 13.73%)
Android#ffd21fdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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