Skip to content
Vectorlight.net

#b997d3

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

HEX
#b997d3
RGB
185, 151, 211
HSL
274°, 40.54%, 70.98%
OKLCH
0.73 0.09 309.97
Names
—
Lists

Codes

FormatValue
HEX#b997d3
RGBrgb(185 151 211)
HSLhsl(274 40.54% 70.98%)
OKLCHoklch(0.73 0.09 309.97)
CMYKcmyk(12.32% 28.44% 0% 17.25%)
Android#ffb997d3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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