Skip to content
Vectorlight.net

#d861ff

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

HEX
#d861ff
RGB
216, 97, 255
HSL
285.19°, 100%, 69.02%
OKLCH
0.7 0.24 316.86
Names
—
Lists

Codes

FormatValue
HEX#d861ff
RGBrgb(216 97 255)
HSLhsl(285.19 100% 69.02%)
OKLCHoklch(0.7 0.24 316.86)
CMYKcmyk(15.29% 61.96% 0% 0%)
Android#ffd861ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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