Skip to content
Vectorlight.net

#ba76f7

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

HEX
#ba76f7
RGB
186, 118, 247
HSL
271.63°, 88.97%, 71.57%
OKLCH
0.69 0.19 306.4
Names
—
Lists

Codes

FormatValue
HEX#ba76f7
RGBrgb(186 118 247)
HSLhsl(271.63 88.97% 71.57%)
OKLCHoklch(0.69 0.19 306.4)
CMYKcmyk(24.7% 52.23% 0% 3.14%)
Android#ffba76f7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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