Skip to content
Vectorlight.net

#b397da

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

HEX
#b397da
RGB
179, 151, 218
HSL
265.07°, 47.52%, 72.35%
OKLCH
0.73 0.1 303.17
Names
—
Lists

Codes

FormatValue
HEX#b397da
RGBrgb(179 151 218)
HSLhsl(265.07 47.52% 72.35%)
OKLCHoklch(0.73 0.1 303.17)
CMYKcmyk(17.89% 30.73% 0% 14.51%)
Android#ffb397da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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