Skip to content
Vectorlight.net

#d84dfb

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

HEX
#d84dfb
RGB
216, 77, 251
HSL
287.93°, 95.6%, 64.31%
OKLCH
0.68 0.26 318.76
Names
—
Lists

Codes

FormatValue
HEX#d84dfb
RGBrgb(216 77 251)
HSLhsl(287.93 95.6% 64.31%)
OKLCHoklch(0.68 0.26 318.76)
CMYKcmyk(13.94% 69.32% 0% 1.57%)
Android#ffd84dfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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