Skip to content
Vectorlight.net

#976ffa

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

HEX
#976ffa
RGB
151, 111, 250
HSL
257.27°, 93.29%, 70.78%
OKLCH
0.65 0.2 293.33
Names
—
Lists

Codes

FormatValue
HEX#976ffa
RGBrgb(151 111 250)
HSLhsl(257.27 93.29% 70.78%)
OKLCHoklch(0.65 0.2 293.33)
CMYKcmyk(39.6% 55.6% 0% 1.96%)
Android#ff976ffa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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