Skip to content
Vectorlight.net

#d87eef

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

HEX
#d87eef
RGB
216, 126, 239
HSL
287.79°, 77.93%, 71.57%
OKLCH
0.73 0.18 319.21
Names
—
Lists

Codes

FormatValue
HEX#d87eef
RGBrgb(216 126 239)
HSLhsl(287.79 77.93% 71.57%)
OKLCHoklch(0.73 0.18 319.21)
CMYKcmyk(9.62% 47.28% 0% 6.27%)
Android#ffd87eef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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