Skip to content
Vectorlight.net

#b797bf

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

HEX
#b797bf
RGB
183, 151, 191
HSL
288°, 23.81%, 67.06%
OKLCH
0.72 0.07 319.46
Names
—
Lists

Codes

FormatValue
HEX#b797bf
RGBrgb(183 151 191)
HSLhsl(288 23.81% 67.06%)
OKLCHoklch(0.72 0.07 319.46)
CMYKcmyk(4.19% 20.94% 0% 25.1%)
Android#ffb797bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #b797bf;
background-color: #b797bf;
bg-[#b797bf]