Skip to content
Vectorlight.net

#ba72ce

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

HEX
#ba72ce
RGB
186, 114, 206
HSL
286.96°, 48.42%, 62.75%
OKLCH
0.66 0.15 318.66
Names
—
Lists

Codes

FormatValue
HEX#ba72ce
RGBrgb(186 114 206)
HSLhsl(286.96 48.42% 62.75%)
OKLCHoklch(0.66 0.15 318.66)
CMYKcmyk(9.71% 44.66% 0% 19.22%)
Android#ffba72ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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