Skip to content
Vectorlight.net

#796bcf

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

HEX
#796bcf
RGB
121, 107, 207
HSL
248.4°, 51.02%, 61.57%
OKLCH
0.59 0.15 287.33
Names
—
Lists

Codes

FormatValue
HEX#796bcf
RGBrgb(121 107 207)
HSLhsl(248.4 51.02% 61.57%)
OKLCHoklch(0.59 0.15 287.33)
CMYKcmyk(41.55% 48.31% 0% 18.82%)
Android#ff796bcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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