Skip to content
Vectorlight.net

#798e9c

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

HEX
#798e9c
RGB
121, 142, 156
HSL
204°, 15.02%, 54.31%
OKLCH
0.63 0.03 237.22
Names
—
Lists

Codes

FormatValue
HEX#798e9c
RGBrgb(121 142 156)
HSLhsl(204 15.02% 54.31%)
OKLCHoklch(0.63 0.03 237.22)
CMYKcmyk(22.44% 8.97% 0% 38.82%)
Android#ff798e9c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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