Skip to content
Vectorlight.net

#b981ca

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

HEX
#b981ca
RGB
185, 129, 202
HSL
286.03°, 40.78%, 64.9%
OKLCH
0.69 0.12 318.13
Names
—
Lists

Codes

FormatValue
HEX#b981ca
RGBrgb(185 129 202)
HSLhsl(286.03 40.78% 64.9%)
OKLCHoklch(0.69 0.12 318.13)
CMYKcmyk(8.42% 36.14% 0% 20.78%)
Android#ffb981ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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