Skip to content
Vectorlight.net

#ba4bce

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

HEX
#ba4bce
RGB
186, 75, 206
HSL
290.84°, 57.21%, 55.1%
OKLCH
0.61 0.21 321.24
Names
—
Lists

Codes

FormatValue
HEX#ba4bce
RGBrgb(186 75 206)
HSLhsl(290.84 57.21% 55.1%)
OKLCHoklch(0.61 0.21 321.24)
CMYKcmyk(9.71% 63.59% 0% 19.22%)
Android#ffba4bce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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