Skip to content
Vectorlight.net

#b981cf

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

HEX
#b981cf
RGB
185, 129, 207
HSL
283.08°, 44.83%, 65.88%
OKLCH
0.69 0.13 316.07
Names
—
Lists

Codes

FormatValue
HEX#b981cf
RGBrgb(185 129 207)
HSLhsl(283.08 44.83% 65.88%)
OKLCHoklch(0.69 0.13 316.07)
CMYKcmyk(10.63% 37.68% 0% 18.82%)
Android#ffb981cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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