Skip to content
Vectorlight.net

#9795bf

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

HEX
#9795bf
RGB
151, 149, 191
HSL
242.86°, 24.71%, 66.67%
OKLCH
0.69 0.06 286.84
Names
—
Lists

Codes

FormatValue
HEX#9795bf
RGBrgb(151 149 191)
HSLhsl(242.86 24.71% 66.67%)
OKLCHoklch(0.69 0.06 286.84)
CMYKcmyk(20.94% 21.99% 0% 25.1%)
Android#ff9795bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9795bf;
background-color: #9795bf;
bg-[#9795bf]