Skip to content
Vectorlight.net

#b97dcd

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

HEX
#b97dcd
RGB
185, 125, 205
HSL
285°, 44.44%, 64.71%
OKLCH
0.68 0.13 317.39
Names
—
Lists

Codes

FormatValue
HEX#b97dcd
RGBrgb(185 125 205)
HSLhsl(285 44.44% 64.71%)
OKLCHoklch(0.68 0.13 317.39)
CMYKcmyk(9.76% 39.02% 0% 19.61%)
Android#ffb97dcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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