Skip to content
Vectorlight.net

#d97fda

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

HEX
#d97fda
RGB
217, 127, 218
HSL
299.34°, 55.15%, 67.65%
OKLCH
0.72 0.16 326.68
Names
—
Lists

Codes

FormatValue
HEX#d97fda
RGBrgb(217 127 218)
HSLhsl(299.34 55.15% 67.65%)
OKLCHoklch(0.72 0.16 326.68)
CMYKcmyk(0.46% 41.74% 0% 14.51%)
Android#ffd97fda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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