Skip to content
Vectorlight.net

#ba29db

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

HEX
#ba29db
RGB
186, 41, 219
HSL
288.88°, 71.2%, 50.98%
OKLCH
0.59 0.26 318.99
Names
—
Lists

Codes

FormatValue
HEX#ba29db
RGBrgb(186 41 219)
HSLhsl(288.88 71.2% 50.98%)
OKLCHoklch(0.59 0.26 318.99)
CMYKcmyk(15.07% 81.28% 0% 14.12%)
Android#ffba29db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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