Skip to content
Vectorlight.net

#b981ce

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

HEX
#b981ce
RGB
185, 129, 206
HSL
283.64°, 44%, 65.69%
OKLCH
0.69 0.13 316.47
Names
—
Lists

Codes

FormatValue
HEX#b981ce
RGBrgb(185 129 206)
HSLhsl(283.64 44% 65.69%)
OKLCHoklch(0.69 0.13 316.47)
CMYKcmyk(10.19% 37.38% 0% 19.22%)
Android#ffb981ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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