Skip to content
Vectorlight.net

#ba4ebc

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

HEX
#ba4ebc
RGB
186, 78, 188
HSL
298.91°, 45.08%, 52.16%
OKLCH
0.6 0.19 326.91
Names
—
Lists

Codes

FormatValue
HEX#ba4ebc
RGBrgb(186 78 188)
HSLhsl(298.91 45.08% 52.16%)
OKLCHoklch(0.6 0.19 326.91)
CMYKcmyk(1.06% 58.51% 0% 26.27%)
Android#ffba4ebc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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