Skip to content
Vectorlight.net

#997fab

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

HEX
#997fab
RGB
153, 127, 171
HSL
275.45°, 20.75%, 58.43%
OKLCH
0.64 0.07 311.14
Names
—
Lists

Codes

FormatValue
HEX#997fab
RGBrgb(153 127 171)
HSLhsl(275.45 20.75% 58.43%)
OKLCHoklch(0.64 0.07 311.14)
CMYKcmyk(10.53% 25.73% 0% 32.94%)
Android#ff997fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #997fab;
background-color: #997fab;
bg-[#997fab]