Skip to content
Vectorlight.net

#b997da

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

HEX
#b997da
RGB
185, 151, 218
HSL
270.45°, 47.52%, 72.35%
OKLCH
0.73 0.1 307.23
Names
—
Lists

Codes

FormatValue
HEX#b997da
RGBrgb(185 151 218)
HSLhsl(270.45 47.52% 72.35%)
OKLCHoklch(0.73 0.1 307.23)
CMYKcmyk(15.14% 30.73% 0% 14.51%)
Android#ffb997da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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