Skip to content
Vectorlight.net

#796398

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

HEX
#796398
RGB
121, 99, 152
HSL
264.91°, 21.12%, 49.22%
OKLCH
0.54 0.08 302.76
Names
—
Lists

Codes

FormatValue
HEX#796398
RGBrgb(121 99 152)
HSLhsl(264.91 21.12% 49.22%)
OKLCHoklch(0.54 0.08 302.76)
CMYKcmyk(20.39% 34.87% 0% 40.39%)
Android#ff796398

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.18:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.05:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#796398"
Gradient stop
<stop stop-color="#796398"/>
CSS variable + fill
:root { --c: #796398; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #796398;
background-color: #796398;
bg-[#796398]