Skip to content
Vectorlight.net

#796caa

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

HEX
#796caa
RGB
121, 108, 170
HSL
252.58°, 26.72%, 54.51%
OKLCH
0.57 0.09 292.76
Names
—
Lists

Codes

FormatValue
HEX#796caa
RGBrgb(121 108 170)
HSLhsl(252.58 26.72% 54.51%)
OKLCHoklch(0.57 0.09 292.76)
CMYKcmyk(28.82% 36.47% 0% 33.33%)
Android#ff796caa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #796caa;
background-color: #796caa;
bg-[#796caa]