Skip to content
Vectorlight.net

#796beb

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

HEX
#796beb
RGB
121, 107, 235
HSL
246.56°, 76.19%, 67.06%
OKLCH
0.61 0.19 284.33
Names
—
Lists

Codes

FormatValue
HEX#796beb
RGBrgb(121 107 235)
HSLhsl(246.56 76.19% 67.06%)
OKLCHoklch(0.61 0.19 284.33)
CMYKcmyk(48.51% 54.47% 0% 7.84%)
Android#ff796beb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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