Skip to content
Vectorlight.net

#b397cc

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

HEX
#b397cc
RGB
179, 151, 204
HSL
271.7°, 34.19%, 69.61%
OKLCH
0.72 0.08 308.44
Names
—
Lists

Codes

FormatValue
HEX#b397cc
RGBrgb(179 151 204)
HSLhsl(271.7 34.19% 69.61%)
OKLCHoklch(0.72 0.08 308.44)
CMYKcmyk(12.25% 25.98% 0% 20%)
Android#ffb397cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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