Skip to content
Vectorlight.net

#ba53b5

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

HEX
#ba53b5
RGB
186, 83, 181
HSL
302.91°, 42.74%, 52.75%
OKLCH
0.61 0.18 329.39
Names
—
Lists

Codes

FormatValue
HEX#ba53b5
RGBrgb(186 83 181)
HSLhsl(302.91 42.74% 52.75%)
OKLCHoklch(0.61 0.18 329.39)
CMYKcmyk(0% 55.38% 2.69% 27.06%)
Android#ffba53b5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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