Skip to content
Vectorlight.net

#9796da

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

HEX
#9796da
RGB
151, 150, 218
HSL
240.88°, 47.89%, 72.16%
OKLCH
0.7 0.1 284.22
Names
—
Lists

Codes

FormatValue
HEX#9796da
RGBrgb(151 150 218)
HSLhsl(240.88 47.89% 72.16%)
OKLCHoklch(0.7 0.1 284.22)
CMYKcmyk(30.73% 31.19% 0% 14.51%)
Android#ff9796da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9796da;
background-color: #9796da;
bg-[#9796da]