Skip to content
Vectorlight.net

#ba5bbb

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

HEX
#ba5bbb
RGB
186, 91, 187
HSL
299.38°, 41.38%, 54.51%
OKLCH
0.62 0.17 327
Names
—
Lists

Codes

FormatValue
HEX#ba5bbb
RGBrgb(186 91 187)
HSLhsl(299.38 41.38% 54.51%)
OKLCHoklch(0.62 0.17 327)
CMYKcmyk(0.53% 51.34% 0% 26.67%)
Android#ffba5bbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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