Skip to content
Vectorlight.net

#dc87ef

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

HEX
#dc87ef
RGB
220, 135, 239
HSL
289.04°, 76.47%, 73.33%
OKLCH
0.75 0.17 320.11
Names
—
Lists

Codes

FormatValue
HEX#dc87ef
RGBrgb(220 135 239)
HSLhsl(289.04 76.47% 73.33%)
OKLCHoklch(0.75 0.17 320.11)
CMYKcmyk(7.95% 43.51% 0% 6.27%)
Android#ffdc87ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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