Skip to content
Vectorlight.net

#ba73bb

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

HEX
#ba73bb
RGB
186, 115, 187
HSL
299.17°, 34.62%, 59.22%
OKLCH
0.66 0.13 326.45
Names
—
Lists

Codes

FormatValue
HEX#ba73bb
RGBrgb(186 115 187)
HSLhsl(299.17 34.62% 59.22%)
OKLCHoklch(0.66 0.13 326.45)
CMYKcmyk(0.53% 38.5% 0% 26.67%)
Android#ffba73bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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