Skip to content
Vectorlight.net

#797baa

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

HEX
#797baa
RGB
121, 123, 170
HSL
237.55°, 22.37%, 57.06%
OKLCH
0.6 0.07 282.13
Names
—
Lists

Codes

FormatValue
HEX#797baa
RGBrgb(121 123 170)
HSLhsl(237.55 22.37% 57.06%)
OKLCHoklch(0.6 0.07 282.13)
CMYKcmyk(28.82% 27.65% 0% 33.33%)
Android#ff797baa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #797baa;
background-color: #797baa;
bg-[#797baa]