Skip to content
Vectorlight.net

#b97bda

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

HEX
#b97bda
RGB
185, 123, 218
HSL
279.16°, 56.21%, 66.86%
OKLCH
0.68 0.15 313.03
Names
—
Lists

Codes

FormatValue
HEX#b97bda
RGBrgb(185 123 218)
HSLhsl(279.16 56.21% 66.86%)
OKLCHoklch(0.68 0.15 313.03)
CMYKcmyk(15.14% 43.58% 0% 14.51%)
Android#ffb97bda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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