Skip to content
Vectorlight.net

#ba47fc

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

HEX
#ba47fc
RGB
186, 71, 252
HSL
278.12°, 96.79%, 63.33%
OKLCH
0.64 0.26 309.95
Names
—
Lists

Codes

FormatValue
HEX#ba47fc
RGBrgb(186 71 252)
HSLhsl(278.12 96.79% 63.33%)
OKLCHoklch(0.64 0.26 309.95)
CMYKcmyk(26.19% 71.83% 0% 1.18%)
Android#ffba47fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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