Skip to content
Vectorlight.net

#d97dab

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

HEX
#d97dab
RGB
217, 125, 171
HSL
330°, 54.76%, 67.06%
OKLCH
0.7 0.13 349.49
Names
—
Lists

Codes

FormatValue
HEX#d97dab
RGBrgb(217 125 171)
HSLhsl(330 54.76% 67.06%)
OKLCHoklch(0.7 0.13 349.49)
CMYKcmyk(0% 42.4% 21.2% 14.9%)
Android#ffd97dab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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