Skip to content
Vectorlight.net

#ba81bf

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

HEX
#ba81bf
RGB
186, 129, 191
HSL
295.16°, 32.63%, 62.75%
OKLCH
0.68 0.11 323.91
Names
—
Lists

Codes

FormatValue
HEX#ba81bf
RGBrgb(186 129 191)
HSLhsl(295.16 32.63% 62.75%)
OKLCHoklch(0.68 0.11 323.91)
CMYKcmyk(2.62% 32.46% 0% 25.1%)
Android#ffba81bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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