Skip to content
Vectorlight.net

#b97eeb

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

HEX
#b97eeb
RGB
185, 126, 235
HSL
272.48°, 73.15%, 70.78%
OKLCH
0.7 0.16 307.65
Names
—
Lists

Codes

FormatValue
HEX#b97eeb
RGBrgb(185 126 235)
HSLhsl(272.48 73.15% 70.78%)
OKLCHoklch(0.7 0.16 307.65)
CMYKcmyk(21.28% 46.38% 0% 7.84%)
Android#ffb97eeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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