Skip to content
Vectorlight.net

#ba4cff

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

HEX
#ba4cff
RGB
186, 76, 255
HSL
276.87°, 100%, 64.9%
OKLCH
0.64 0.26 308.98
Names
—
Lists

Codes

FormatValue
HEX#ba4cff
RGBrgb(186 76 255)
HSLhsl(276.87 100% 64.9%)
OKLCHoklch(0.64 0.26 308.98)
CMYKcmyk(27.06% 70.2% 0% 0%)
Android#ffba4cff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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