Skip to content
Vectorlight.net

#ba53da

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

HEX
#ba53da
RGB
186, 83, 218
HSL
285.78°, 64.59%, 59.02%
OKLCH
0.63 0.21 317.35
Names
—
Lists

Codes

FormatValue
HEX#ba53da
RGBrgb(186 83 218)
HSLhsl(285.78 64.59% 59.02%)
OKLCHoklch(0.63 0.21 317.35)
CMYKcmyk(14.68% 61.93% 0% 14.51%)
Android#ffba53da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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