Skip to content
Vectorlight.net

#d987cd

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

HEX
#d987cd
RGB
217, 135, 205
HSL
308.78°, 51.9%, 69.02%
OKLCH
0.73 0.13 332.28
Names
—
Lists

Codes

FormatValue
HEX#d987cd
RGBrgb(217 135 205)
HSLhsl(308.78 51.9% 69.02%)
OKLCHoklch(0.73 0.13 332.28)
CMYKcmyk(0% 37.79% 5.53% 14.9%)
Android#ffd987cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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