Skip to content
Vectorlight.net

#d981da

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

HEX
#d981da
RGB
217, 129, 218
HSL
299.33°, 54.6%, 68.04%
OKLCH
0.73 0.16 326.64
Names
—
Lists

Codes

FormatValue
HEX#d981da
RGBrgb(217 129 218)
HSLhsl(299.33 54.6% 68.04%)
OKLCHoklch(0.73 0.16 326.64)
CMYKcmyk(0.46% 40.83% 0% 14.51%)
Android#ffd981da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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