Skip to content
Vectorlight.net

#b98dd5

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

HEX
#b98dd5
RGB
185, 141, 213
HSL
276.67°, 46.15%, 69.41%
OKLCH
0.71 0.11 311.64
Names
—
Lists

Codes

FormatValue
HEX#b98dd5
RGBrgb(185 141 213)
HSLhsl(276.67 46.15% 69.41%)
OKLCHoklch(0.71 0.11 311.64)
CMYKcmyk(13.15% 33.8% 0% 16.47%)
Android#ffb98dd5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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