Skip to content
Vectorlight.net

#ba71bc

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

HEX
#ba71bc
RGB
186, 113, 188
HSL
298.4°, 35.89%, 59.02%
OKLCH
0.65 0.13 326.04
Names
—
Lists

Codes

FormatValue
HEX#ba71bc
RGBrgb(186 113 188)
HSLhsl(298.4 35.89% 59.02%)
OKLCHoklch(0.65 0.13 326.04)
CMYKcmyk(1.06% 39.89% 0% 26.27%)
Android#ffba71bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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