Skip to content
Vectorlight.net

#b998bc

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

HEX
#b998bc
RGB
185, 152, 188
HSL
295°, 21.18%, 66.67%
OKLCH
0.72 0.06 323.52
Names
—
Lists

Codes

FormatValue
HEX#b998bc
RGBrgb(185 152 188)
HSLhsl(295 21.18% 66.67%)
OKLCHoklch(0.72 0.06 323.52)
CMYKcmyk(1.6% 19.15% 0% 26.27%)
Android#ffb998bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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