Skip to content
Vectorlight.net

#797ab9

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

HEX
#797ab9
RGB
121, 122, 185
HSL
239.06°, 31.37%, 60%
OKLCH
0.6 0.1 282.47
Names
—
Lists

Codes

FormatValue
HEX#797ab9
RGBrgb(121 122 185)
HSLhsl(239.06 31.37% 60%)
OKLCHoklch(0.6 0.1 282.47)
CMYKcmyk(34.59% 34.05% 0% 27.45%)
Android#ff797ab9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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