Skip to content
Vectorlight.net

#d96def

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

HEX
#d96def
RGB
217, 109, 239
HSL
289.85°, 80.25%, 68.24%
OKLCH
0.71 0.21 320.61
Names
—
Lists

Codes

FormatValue
HEX#d96def
RGBrgb(217 109 239)
HSLhsl(289.85 80.25% 68.24%)
OKLCHoklch(0.71 0.21 320.61)
CMYKcmyk(9.21% 54.39% 0% 6.27%)
Android#ffd96def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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