Skip to content
Vectorlight.net

#ba4ade

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

HEX
#ba4ade
RGB
186, 74, 222
HSL
285.41°, 69.16%, 58.04%
OKLCH
0.62 0.23 316.83
Names
—
Lists

Codes

FormatValue
HEX#ba4ade
RGBrgb(186 74 222)
HSLhsl(285.41 69.16% 58.04%)
OKLCHoklch(0.62 0.23 316.83)
CMYKcmyk(16.22% 66.67% 0% 12.94%)
Android#ffba4ade

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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