Skip to content
Vectorlight.net

#971feb

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

HEX
#971feb
RGB
151, 31, 235
HSL
275.29°, 83.61%, 52.16%
OKLCH
0.55 0.27 304.57
Names
—
Lists

Codes

FormatValue
HEX#971feb
RGBrgb(151 31 235)
HSLhsl(275.29 83.61% 52.16%)
OKLCHoklch(0.55 0.27 304.57)
CMYKcmyk(35.74% 86.81% 0% 7.84%)
Android#ff971feb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #971feb;
background-color: #971feb;
bg-[#971feb]