Skip to content
Vectorlight.net

#d951db

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

HEX
#d951db
RGB
217, 81, 219
HSL
299.13°, 65.71%, 58.82%
OKLCH
0.67 0.23 327.19
Names
—
Lists

Codes

FormatValue
HEX#d951db
RGBrgb(217 81 219)
HSLhsl(299.13 65.71% 58.82%)
OKLCHoklch(0.67 0.23 327.19)
CMYKcmyk(0.91% 63.01% 0% 14.12%)
Android#ffd951db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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