Skip to content
Vectorlight.net

#d21fda

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

HEX
#d21fda
RGB
210, 31, 218
HSL
297.43°, 75.1%, 48.82%
OKLCH
0.62 0.27 326.18
Names
—
Lists

Codes

FormatValue
HEX#d21fda
RGBrgb(210 31 218)
HSLhsl(297.43 75.1% 48.82%)
OKLCHoklch(0.62 0.27 326.18)
CMYKcmyk(3.67% 85.78% 0% 14.51%)
Android#ffd21fda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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