Skip to content
Vectorlight.net

#d87dee

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

HEX
#d87dee
RGB
216, 125, 238
HSL
288.32°, 76.87%, 71.18%
OKLCH
0.73 0.18 319.58
Names
—
Lists

Codes

FormatValue
HEX#d87dee
RGBrgb(216 125 238)
HSLhsl(288.32 76.87% 71.18%)
OKLCHoklch(0.73 0.18 319.58)
CMYKcmyk(9.24% 47.48% 0% 6.67%)
Android#ffd87dee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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