Skip to content
Vectorlight.net

#ba5eac

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

HEX
#ba5eac
RGB
186, 94, 172
HSL
309.13°, 40%, 54.9%
OKLCH
0.62 0.15 333.26
Names
—
Lists

Codes

FormatValue
HEX#ba5eac
RGBrgb(186 94 172)
HSLhsl(309.13 40% 54.9%)
OKLCHoklch(0.62 0.15 333.26)
CMYKcmyk(0% 49.46% 7.53% 27.06%)
Android#ffba5eac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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