Skip to content
Vectorlight.net

#d81fda

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

HEX
#d81fda
RGB
216, 31, 218
HSL
299.36°, 75.1%, 48.82%
OKLCH
0.63 0.28 327.74
Names
—
Lists

Codes

FormatValue
HEX#d81fda
RGBrgb(216 31 218)
HSLhsl(299.36 75.1% 48.82%)
OKLCHoklch(0.63 0.28 327.74)
CMYKcmyk(0.92% 85.78% 0% 14.51%)
Android#ffd81fda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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