Skip to content
Vectorlight.net

#d856fb

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

HEX
#d856fb
RGB
216, 86, 251
HSL
287.27°, 95.38%, 66.08%
OKLCH
0.69 0.25 318.38
Names
—
Lists

Codes

FormatValue
HEX#d856fb
RGBrgb(216 86 251)
HSLhsl(287.27 95.38% 66.08%)
OKLCHoklch(0.69 0.25 318.38)
CMYKcmyk(13.94% 65.74% 0% 1.57%)
Android#ffd856fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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