Skip to content
Vectorlight.net

#d417db

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

HEX
#d417db
RGB
212, 23, 219
HSL
297.86°, 80.99%, 47.45%
OKLCH
0.62 0.28 326.51
Names
—
Lists

Codes

FormatValue
HEX#d417db
RGBrgb(212 23 219)
HSLhsl(297.86 80.99% 47.45%)
OKLCHoklch(0.62 0.28 326.51)
CMYKcmyk(3.2% 89.5% 0% 14.12%)
Android#ffd417db

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="#d417db"
Gradient stop
<stop stop-color="#d417db"/>
CSS variable + fill
:root { --c: #d417db; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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