Skip to content
Vectorlight.net

#d97fde

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

HEX
#d97fde
RGB
217, 127, 222
HSL
296.84°, 59.01%, 68.43%
OKLCH
0.73 0.16 325.18
Names
—
Lists

Codes

FormatValue
HEX#d97fde
RGBrgb(217 127 222)
HSLhsl(296.84 59.01% 68.43%)
OKLCHoklch(0.73 0.16 325.18)
CMYKcmyk(2.25% 42.79% 0% 12.94%)
Android#ffd97fde

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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