Skip to content
Vectorlight.net

#ba3fe3

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

HEX
#ba3fe3
RGB
186, 63, 227
HSL
285°, 74.55%, 56.86%
OKLCH
0.61 0.24 316.15
Names
—
Lists

Codes

FormatValue
HEX#ba3fe3
RGBrgb(186 63 227)
HSLhsl(285 74.55% 56.86%)
OKLCHoklch(0.61 0.24 316.15)
CMYKcmyk(18.06% 72.25% 0% 10.98%)
Android#ffba3fe3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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