Skip to content
Vectorlight.net

#ba53aa

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

HEX
#ba53aa
RGB
186, 83, 170
HSL
309.32°, 42.74%, 52.75%
OKLCH
0.6 0.17 333.81
Names
—
Lists

Codes

FormatValue
HEX#ba53aa
RGBrgb(186 83 170)
HSLhsl(309.32 42.74% 52.75%)
OKLCHoklch(0.6 0.17 333.81)
CMYKcmyk(0% 55.38% 8.6% 27.06%)
Android#ffba53aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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