Skip to content
Vectorlight.net

#d96fdf

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

HEX
#d96fdf
RGB
217, 111, 223
HSL
296.79°, 63.64%, 65.49%
OKLCH
0.7 0.19 325.33
Names
—
Lists

Codes

FormatValue
HEX#d96fdf
RGBrgb(217 111 223)
HSLhsl(296.79 63.64% 65.49%)
OKLCHoklch(0.7 0.19 325.33)
CMYKcmyk(2.69% 50.22% 0% 12.55%)
Android#ffd96fdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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