Skip to content
Vectorlight.net

#ba53e1

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

HEX
#ba53e1
RGB
186, 83, 225
HSL
283.52°, 70.3%, 60.39%
OKLCH
0.63 0.22 315.47
Names
—
Lists

Codes

FormatValue
HEX#ba53e1
RGBrgb(186 83 225)
HSLhsl(283.52 70.3% 60.39%)
OKLCHoklch(0.63 0.22 315.47)
CMYKcmyk(17.33% 63.11% 0% 11.76%)
Android#ffba53e1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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