Skip to content
Vectorlight.net

#d862eb

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

HEX
#d862eb
RGB
216, 98, 235
HSL
291.68°, 77.4%, 65.29%
OKLCH
0.69 0.22 321.9
Names
—
Lists

Codes

FormatValue
HEX#d862eb
RGBrgb(216 98 235)
HSLhsl(291.68 77.4% 65.29%)
OKLCHoklch(0.69 0.22 321.9)
CMYKcmyk(8.09% 58.3% 0% 7.84%)
Android#ffd862eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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