Skip to content
Vectorlight.net

#ba51ae

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

HEX
#ba51ae
RGB
186, 81, 174
HSL
306.86°, 43.21%, 52.35%
OKLCH
0.6 0.18 332.12
Names
—
Lists

Codes

FormatValue
HEX#ba51ae
RGBrgb(186 81 174)
HSLhsl(306.86 43.21% 52.35%)
OKLCHoklch(0.6 0.18 332.12)
CMYKcmyk(0% 56.45% 6.45% 27.06%)
Android#ffba51ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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