Skip to content
Vectorlight.net

#ba509e

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

HEX
#ba509e
RGB
186, 80, 158
HSL
315.85°, 43.44%, 52.16%
OKLCH
0.59 0.16 338.93
Names
—
Lists

Codes

FormatValue
HEX#ba509e
RGBrgb(186 80 158)
HSLhsl(315.85 43.44% 52.16%)
OKLCHoklch(0.59 0.16 338.93)
CMYKcmyk(0% 56.99% 15.05% 27.06%)
Android#ffba509e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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