Skip to content
Vectorlight.net

#d8a8ef

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

HEX
#d8a8ef
RGB
216, 168, 239
HSL
280.56°, 68.93%, 79.8%
OKLCH
0.8 0.11 314.53
Names
—
Lists

Codes

FormatValue
HEX#d8a8ef
RGBrgb(216 168 239)
HSLhsl(280.56 68.93% 79.8%)
OKLCHoklch(0.8 0.11 314.53)
CMYKcmyk(9.62% 29.71% 0% 6.27%)
Android#ffd8a8ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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