Skip to content
Vectorlight.net

#ba2bca

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

HEX
#ba2bca
RGB
186, 43, 202
HSL
293.96°, 64.9%, 48.04%
OKLCH
0.58 0.24 323.43
Names
—
Lists

Codes

FormatValue
HEX#ba2bca
RGBrgb(186 43 202)
HSLhsl(293.96 64.9% 48.04%)
OKLCHoklch(0.58 0.24 323.43)
CMYKcmyk(7.92% 78.71% 0% 20.78%)
Android#ffba2bca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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