Skip to content
Vectorlight.net

#ba3ef1

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

HEX
#ba3ef1
RGB
186, 62, 241
HSL
281.56°, 86.47%, 59.41%
OKLCH
0.62 0.26 312.89
Names
—
Lists

Codes

FormatValue
HEX#ba3ef1
RGBrgb(186 62 241)
HSLhsl(281.56 86.47% 59.41%)
OKLCHoklch(0.62 0.26 312.89)
CMYKcmyk(22.82% 74.27% 0% 5.49%)
Android#ffba3ef1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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