Skip to content
Vectorlight.net

#ba43ec

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

HEX
#ba43ec
RGB
186, 67, 236
HSL
282.25°, 81.64%, 59.41%
OKLCH
0.62 0.25 313.77
Names
—
Lists

Codes

FormatValue
HEX#ba43ec
RGBrgb(186 67 236)
HSLhsl(282.25 81.64% 59.41%)
OKLCHoklch(0.62 0.25 313.77)
CMYKcmyk(21.19% 71.61% 0% 7.45%)
Android#ffba43ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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