Skip to content
Vectorlight.net

#798dad

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

HEX
#798dad
RGB
121, 141, 173
HSL
216.92°, 24.07%, 57.65%
OKLCH
0.64 0.05 259.73
Names
—
Lists

Codes

FormatValue
HEX#798dad
RGBrgb(121 141 173)
HSLhsl(216.92 24.07% 57.65%)
OKLCHoklch(0.64 0.05 259.73)
CMYKcmyk(30.06% 18.5% 0% 32.16%)
Android#ff798dad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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