Skip to content
Vectorlight.net

#d96efa

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

HEX
#d96efa
RGB
217, 110, 250
HSL
285.86°, 93.33%, 70.59%
OKLCH
0.72 0.22 317.61
Names
—
Lists

Codes

FormatValue
HEX#d96efa
RGBrgb(217 110 250)
HSLhsl(285.86 93.33% 70.59%)
OKLCHoklch(0.72 0.22 317.61)
CMYKcmyk(13.2% 56% 0% 1.96%)
Android#ffd96efa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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