Skip to content
Vectorlight.net

#d8afdc

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

HEX
#d8afdc
RGB
216, 175, 220
HSL
294.67°, 39.13%, 77.45%
OKLCH
0.8 0.08 323.37
Names
—
Lists

Codes

FormatValue
HEX#d8afdc
RGBrgb(216 175 220)
HSLhsl(294.67 39.13% 77.45%)
OKLCHoklch(0.8 0.08 323.37)
CMYKcmyk(1.82% 20.45% 0% 13.73%)
Android#ffd8afdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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