Skip to content
Vectorlight.net

#d96aed

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

HEX
#d96aed
RGB
217, 106, 237
HSL
290.84°, 78.44%, 67.25%
OKLCH
0.7 0.21 321.31
Names
—
Lists

Codes

FormatValue
HEX#d96aed
RGBrgb(217 106 237)
HSLhsl(290.84 78.44% 67.25%)
OKLCHoklch(0.7 0.21 321.31)
CMYKcmyk(8.44% 55.27% 0% 7.06%)
Android#ffd96aed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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