Skip to content
Vectorlight.net

#ba33da

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

HEX
#ba33da
RGB
186, 51, 218
HSL
288.5°, 69.29%, 52.75%
OKLCH
0.6 0.25 318.93
Names
—
Lists

Codes

FormatValue
HEX#ba33da
RGBrgb(186 51 218)
HSLhsl(288.5 69.29% 52.75%)
OKLCHoklch(0.6 0.25 318.93)
CMYKcmyk(14.68% 76.61% 0% 14.51%)
Android#ffba33da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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