Skip to content
Vectorlight.net

#b998cf

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

HEX
#b998cf
RGB
185, 152, 207
HSL
276°, 36.42%, 70.39%
OKLCH
0.73 0.09 311.48
Names
—
Lists

Codes

FormatValue
HEX#b998cf
RGBrgb(185 152 207)
HSLhsl(276 36.42% 70.39%)
OKLCHoklch(0.73 0.09 311.48)
CMYKcmyk(10.63% 26.57% 0% 18.82%)
Android#ffb998cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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