Skip to content
Vectorlight.net

#d7afdd

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

HEX
#d7afdd
RGB
215, 175, 221
HSL
292.17°, 40.35%, 77.65%
OKLCH
0.8 0.08 321.95
Names
—
Lists

Codes

FormatValue
HEX#d7afdd
RGBrgb(215 175 221)
HSLhsl(292.17 40.35% 77.65%)
OKLCHoklch(0.8 0.08 321.95)
CMYKcmyk(2.71% 20.81% 0% 13.33%)
Android#ffd7afdd

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.06: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="#d7afdd"
Gradient stop
<stop stop-color="#d7afdd"/>
CSS variable + fill
:root { --c: #d7afdd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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