Skip to content
Vectorlight.net

#ba3fe4

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

HEX
#ba3fe4
RGB
186, 63, 228
HSL
284.73°, 75.34%, 57.06%
OKLCH
0.61 0.25 315.91
Names
—
Lists

Codes

FormatValue
HEX#ba3fe4
RGBrgb(186 63 228)
HSLhsl(284.73 75.34% 57.06%)
OKLCHoklch(0.61 0.25 315.91)
CMYKcmyk(18.42% 72.37% 0% 10.59%)
Android#ffba3fe4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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