Skip to content
Vectorlight.net

#ba57be

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

HEX
#ba57be
RGB
186, 87, 190
HSL
297.67°, 44.21%, 54.31%
OKLCH
0.62 0.18 325.99
Names
—
Lists

Codes

FormatValue
HEX#ba57be
RGBrgb(186 87 190)
HSLhsl(297.67 44.21% 54.31%)
OKLCHoklch(0.62 0.18 325.99)
CMYKcmyk(2.11% 54.21% 0% 25.49%)
Android#ffba57be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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