Skip to content
Vectorlight.net

#ba8bbf

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

HEX
#ba8bbf
RGB
186, 139, 191
HSL
294.23°, 28.89%, 64.71%
OKLCH
0.7 0.09 323.25
Names
—
Lists

Codes

FormatValue
HEX#ba8bbf
RGBrgb(186 139 191)
HSLhsl(294.23 28.89% 64.71%)
OKLCHoklch(0.7 0.09 323.25)
CMYKcmyk(2.62% 27.23% 0% 25.1%)
Android#ffba8bbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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