Skip to content
Vectorlight.net

#798aaa

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

HEX
#798aaa
RGB
121, 138, 170
HSL
219.18°, 22.37%, 57.06%
OKLCH
0.63 0.05 262.97
Names
—
Lists

Codes

FormatValue
HEX#798aaa
RGBrgb(121 138 170)
HSLhsl(219.18 22.37% 57.06%)
OKLCHoklch(0.63 0.05 262.97)
CMYKcmyk(28.82% 18.82% 0% 33.33%)
Android#ff798aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #798aaa;
background-color: #798aaa;
bg-[#798aaa]