Skip to content
Vectorlight.net

#d976dd

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

HEX
#d976dd
RGB
217, 118, 221
HSL
297.67°, 60.23%, 66.47%
OKLCH
0.71 0.18 325.8
Names
—
Lists

Codes

FormatValue
HEX#d976dd
RGBrgb(217 118 221)
HSLhsl(297.67 60.23% 66.47%)
OKLCHoklch(0.71 0.18 325.8)
CMYKcmyk(1.81% 46.61% 0% 13.33%)
Android#ffd976dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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