Skip to content
Vectorlight.net

#ba3caa

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

HEX
#ba3caa
RGB
186, 60, 170
HSL
307.62°, 51.22%, 48.24%
OKLCH
0.58 0.2 333.38
Names
—
Lists

Codes

FormatValue
HEX#ba3caa
RGBrgb(186 60 170)
HSLhsl(307.62 51.22% 48.24%)
OKLCHoklch(0.58 0.2 333.38)
CMYKcmyk(0% 67.74% 8.6% 27.06%)
Android#ffba3caa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.31:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ba3caa"
Gradient stop
<stop stop-color="#ba3caa"/>
CSS variable + fill
:root { --c: #ba3caa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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