Skip to content
Vectorlight.net

#97197f

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

HEX
#97197f
RGB
151, 25, 127
HSL
311.43°, 71.59%, 34.51%
OKLCH
0.47 0.19 337.66
Names
—
Lists

Codes

FormatValue
HEX#97197f
RGBrgb(151 25 127)
HSLhsl(311.43 71.59% 34.51%)
OKLCHoklch(0.47 0.19 337.66)
CMYKcmyk(0% 83.44% 15.89% 40.78%)
Android#ff97197f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.76:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

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="#97197f"
Gradient stop
<stop stop-color="#97197f"/>
CSS variable + fill
:root { --c: #97197f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #97197f;
background-color: #97197f;
bg-[#97197f]