Skip to content
Vectorlight.net

#ba24db

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

HEX
#ba24db
RGB
186, 36, 219
HSL
289.18°, 71.76%, 50%
OKLCH
0.59 0.26 319.12
Names
—
Lists

Codes

FormatValue
HEX#ba24db
RGBrgb(186 36 219)
HSLhsl(289.18 71.76% 50%)
OKLCHoklch(0.59 0.26 319.12)
CMYKcmyk(15.07% 83.56% 0% 14.12%)
Android#ffba24db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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