Skip to content
Vectorlight.net

#b97bed

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

HEX
#b97bed
RGB
185, 123, 237
HSL
272.63°, 76%, 70.59%
OKLCH
0.69 0.17 307.62
Names
—
Lists

Codes

FormatValue
HEX#b97bed
RGBrgb(185 123 237)
HSLhsl(272.63 76% 70.59%)
OKLCHoklch(0.69 0.17 307.62)
CMYKcmyk(21.94% 48.1% 0% 7.06%)
Android#ffb97bed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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