Skip to content
Vectorlight.net

#976fac

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

HEX
#976fac
RGB
151, 111, 172
HSL
279.34°, 26.87%, 55.49%
OKLCH
0.6 0.1 313.52
Names
—
Lists

Codes

FormatValue
HEX#976fac
RGBrgb(151 111 172)
HSLhsl(279.34 26.87% 55.49%)
OKLCHoklch(0.6 0.1 313.52)
CMYKcmyk(12.21% 35.47% 0% 32.55%)
Android#ff976fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

color / background
color: #976fac;
background-color: #976fac;
bg-[#976fac]