Skip to content
Vectorlight.net

#ba76fe

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

HEX
#ba76fe
RGB
186, 118, 254
HSL
270°, 98.55%, 72.94%
OKLCH
0.7 0.2 304.86
Names
—
Lists

Codes

FormatValue
HEX#ba76fe
RGBrgb(186 118 254)
HSLhsl(270 98.55% 72.94%)
OKLCHoklch(0.7 0.2 304.86)
CMYKcmyk(26.77% 53.54% 0% 0.39%)
Android#ffba76fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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