Skip to content
Vectorlight.net

#796fcb

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

HEX
#796fcb
RGB
121, 111, 203
HSL
246.52°, 46.94%, 61.57%
OKLCH
0.59 0.14 286.39
Names
—
Lists

Codes

FormatValue
HEX#796fcb
RGBrgb(121 111 203)
HSLhsl(246.52 46.94% 61.57%)
OKLCHoklch(0.59 0.14 286.39)
CMYKcmyk(40.39% 45.32% 0% 20.39%)
Android#ff796fcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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