Skip to content
Vectorlight.net

#ba34da

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

HEX
#ba34da
RGB
186, 52, 218
HSL
288.43°, 69.17%, 52.94%
OKLCH
0.6 0.25 318.89
Names
—
Lists

Codes

FormatValue
HEX#ba34da
RGBrgb(186 52 218)
HSLhsl(288.43 69.17% 52.94%)
OKLCHoklch(0.6 0.25 318.89)
CMYKcmyk(14.68% 76.15% 0% 14.51%)
Android#ffba34da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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