Skip to content
Vectorlight.net

#d96cff

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

HEX
#d96cff
RGB
217, 108, 255
HSL
284.49°, 100%, 71.18%
OKLCH
0.72 0.22 316.49
Names
—
Lists

Codes

FormatValue
HEX#d96cff
RGBrgb(217 108 255)
HSLhsl(284.49 100% 71.18%)
OKLCHoklch(0.72 0.22 316.49)
CMYKcmyk(14.9% 57.65% 0% 0%)
Android#ffd96cff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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