Skip to content
Vectorlight.net

#ba4bbd

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

HEX
#ba4bbd
RGB
186, 75, 189
HSL
298.42°, 46.34%, 51.76%
OKLCH
0.6 0.2 326.63
Names
—
Lists

Codes

FormatValue
HEX#ba4bbd
RGBrgb(186 75 189)
HSLhsl(298.42 46.34% 51.76%)
OKLCHoklch(0.6 0.2 326.63)
CMYKcmyk(1.59% 60.32% 0% 25.88%)
Android#ffba4bbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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