Skip to content
Vectorlight.net

#796bba

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

HEX
#796bba
RGB
121, 107, 186
HSL
250.63°, 36.41%, 57.45%
OKLCH
0.58 0.12 290.27
Names
—
Lists

Codes

FormatValue
HEX#796bba
RGBrgb(121 107 186)
HSLhsl(250.63 36.41% 57.45%)
OKLCHoklch(0.58 0.12 290.27)
CMYKcmyk(34.95% 42.47% 0% 27.06%)
Android#ff796bba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #796bba;
background-color: #796bba;
bg-[#796bba]