Skip to content
Vectorlight.net

#d997cc

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

HEX
#d997cc
RGB
217, 151, 204
HSL
311.82°, 46.48%, 72.16%
OKLCH
0.76 0.1 333.8
Names
—
Lists

Codes

FormatValue
HEX#d997cc
RGBrgb(217 151 204)
HSLhsl(311.82 46.48% 72.16%)
OKLCHoklch(0.76 0.1 333.8)
CMYKcmyk(0% 30.41% 5.99% 14.9%)
Android#ffd997cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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