Skip to content
Vectorlight.net

#d84afd

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

HEX
#d84afd
RGB
216, 74, 253
HSL
287.6°, 97.81%, 64.12%
OKLCH
0.68 0.27 318.42
Names
—
Lists

Codes

FormatValue
HEX#d84afd
RGBrgb(216 74 253)
HSLhsl(287.6 97.81% 64.12%)
OKLCHoklch(0.68 0.27 318.42)
CMYKcmyk(14.62% 70.75% 0% 0.78%)
Android#ffd84afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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