Skip to content
Vectorlight.net

#d855ec

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

HEX
#d855ec
RGB
216, 85, 236
HSL
292.05°, 79.89%, 62.94%
OKLCH
0.68 0.24 322.14
Names
—
Lists

Codes

FormatValue
HEX#d855ec
RGBrgb(216 85 236)
HSLhsl(292.05 79.89% 62.94%)
OKLCHoklch(0.68 0.24 322.14)
CMYKcmyk(8.47% 63.98% 0% 7.45%)
Android#ffd855ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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