Skip to content
Vectorlight.net

#971285

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

HEX
#971285
RGB
151, 18, 133
HSL
308.12°, 78.7%, 33.14%
OKLCH
0.47 0.2 335.08
Names
—
Lists

Codes

FormatValue
HEX#971285
RGBrgb(151 18 133)
HSLhsl(308.12 78.7% 33.14%)
OKLCHoklch(0.47 0.2 335.08)
CMYKcmyk(0% 88.08% 11.92% 40.78%)
Android#ff971285

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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