Skip to content
Vectorlight.net

#970951

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

HEX
#970951
RGB
151, 9, 81
HSL
329.58°, 88.75%, 31.37%
OKLCH
0.44 0.17 358.97
Names
—
Lists

Codes

FormatValue
HEX#970951
RGBrgb(151 9 81)
HSLhsl(329.58 88.75% 31.37%)
OKLCHoklch(0.44 0.17 358.97)
CMYKcmyk(0% 94.04% 46.36% 40.78%)
Android#ff970951

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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