Skip to content
Vectorlight.net

#d96ffa

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

HEX
#d96ffa
RGB
217, 111, 250
HSL
285.76°, 93.29%, 70.78%
OKLCH
0.72 0.22 317.54
Names
—
Lists

Codes

FormatValue
HEX#d96ffa
RGBrgb(217 111 250)
HSLhsl(285.76 93.29% 70.78%)
OKLCHoklch(0.72 0.22 317.54)
CMYKcmyk(13.2% 55.6% 0% 1.96%)
Android#ffd96ffa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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