Skip to content
Vectorlight.net

#d8a6dd

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

HEX
#d8a6dd
RGB
216, 166, 221
HSL
294.55°, 44.72%, 75.88%
OKLCH
0.79 0.09 323.39
Names
—
Lists

Codes

FormatValue
HEX#d8a6dd
RGBrgb(216 166 221)
HSLhsl(294.55 44.72% 75.88%)
OKLCHoklch(0.79 0.09 323.39)
CMYKcmyk(2.26% 24.89% 0% 13.33%)
Android#ffd8a6dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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