Skip to content
Vectorlight.net

#d862df

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

HEX
#d862df
RGB
216, 98, 223
HSL
296.64°, 66.14%, 62.94%
OKLCH
0.69 0.21 325.35
Names
—
Lists

Codes

FormatValue
HEX#d862df
RGBrgb(216 98 223)
HSLhsl(296.64 66.14% 62.94%)
OKLCHoklch(0.69 0.21 325.35)
CMYKcmyk(3.14% 56.05% 0% 12.55%)
Android#ffd862df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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