Skip to content
Vectorlight.net

#ba73cb

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

HEX
#ba73cb
RGB
186, 115, 203
HSL
288.41°, 45.83%, 62.35%
OKLCH
0.66 0.15 319.68
Names
—
Lists

Codes

FormatValue
HEX#ba73cb
RGBrgb(186 115 203)
HSLhsl(288.41 45.83% 62.35%)
OKLCHoklch(0.66 0.15 319.68)
CMYKcmyk(8.37% 43.35% 0% 20.39%)
Android#ffba73cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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