Skip to content
Vectorlight.net

#7971ba

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

HEX
#7971ba
RGB
121, 113, 186
HSL
246.58°, 34.6%, 58.63%
OKLCH
0.59 0.11 287.52
Names
—
Lists

Codes

FormatValue
HEX#7971ba
RGBrgb(121 113 186)
HSLhsl(246.58 34.6% 58.63%)
OKLCHoklch(0.59 0.11 287.52)
CMYKcmyk(34.95% 39.25% 0% 27.06%)
Android#ff7971ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7971ba;
background-color: #7971ba;
bg-[#7971ba]