Skip to content
Vectorlight.net

#ba4cbb

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

HEX
#ba4cbb
RGB
186, 76, 187
HSL
299.46°, 44.94%, 51.57%
OKLCH
0.6 0.19 327.3
Names
—
Lists

Codes

FormatValue
HEX#ba4cbb
RGBrgb(186 76 187)
HSLhsl(299.46 44.94% 51.57%)
OKLCHoklch(0.6 0.19 327.3)
CMYKcmyk(0.53% 59.36% 0% 26.67%)
Android#ffba4cbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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