Skip to content
Vectorlight.net

#b97ecd

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

HEX
#b97ecd
RGB
185, 126, 205
HSL
284.81°, 44.13%, 64.9%
OKLCH
0.68 0.13 317.26
Names
—
Lists

Codes

FormatValue
HEX#b97ecd
RGBrgb(185 126 205)
HSLhsl(284.81 44.13% 64.9%)
OKLCHoklch(0.68 0.13 317.26)
CMYKcmyk(9.76% 38.54% 0% 19.61%)
Android#ffb97ecd

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.92: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="#b97ecd"
Gradient stop
<stop stop-color="#b97ecd"/>
CSS variable + fill
:root { --c: #b97ecd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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