Skip to content
Vectorlight.net

#796fab

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

HEX
#796fab
RGB
121, 111, 171
HSL
250°, 26.32%, 55.29%
OKLCH
0.58 0.09 290.88
Names
—
Lists

Codes

FormatValue
HEX#796fab
RGBrgb(121 111 171)
HSLhsl(250 26.32% 55.29%)
OKLCHoklch(0.58 0.09 290.88)
CMYKcmyk(29.24% 35.09% 0% 32.94%)
Android#ff796fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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