Skip to content
Vectorlight.net

#796596

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

HEX
#796596
RGB
121, 101, 150
HSL
264.49°, 19.52%, 49.22%
OKLCH
0.55 0.08 302.63
Names
—
Lists

Codes

FormatValue
HEX#796596
RGBrgb(121 101 150)
HSLhsl(264.49 19.52% 49.22%)
OKLCHoklch(0.55 0.08 302.63)
CMYKcmyk(19.33% 32.67% 0% 41.18%)
Android#ff796596

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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