Skip to content
Vectorlight.net

#b997ca

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

HEX
#b997ca
RGB
185, 151, 202
HSL
280°, 32.48%, 69.22%
OKLCH
0.72 0.08 314.28
Names
—
Lists

Codes

FormatValue
HEX#b997ca
RGBrgb(185 151 202)
HSLhsl(280 32.48% 69.22%)
OKLCHoklch(0.72 0.08 314.28)
CMYKcmyk(8.42% 25.25% 0% 20.78%)
Android#ffb997ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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