Skip to content
Vectorlight.net

#972873

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

HEX
#972873
RGB
151, 40, 115
HSL
319.46°, 58.12%, 37.45%
OKLCH
0.48 0.17 343.84
Names
—
Lists

Codes

FormatValue
HEX#972873
RGBrgb(151 40 115)
HSLhsl(319.46 58.12% 37.45%)
OKLCHoklch(0.48 0.17 343.84)
CMYKcmyk(0% 73.51% 23.84% 40.78%)
Android#ff972873

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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