Skip to content
Vectorlight.net

#d87fdf

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

HEX
#d87fdf
RGB
216, 127, 223
HSL
295.63°, 60%, 68.63%
OKLCH
0.73 0.16 324.43
Names
—
Lists

Codes

FormatValue
HEX#d87fdf
RGBrgb(216 127 223)
HSLhsl(295.63 60% 68.63%)
OKLCHoklch(0.73 0.16 324.43)
CMYKcmyk(3.14% 43.05% 0% 12.55%)
Android#ffd87fdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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