Skip to content
Vectorlight.net

#ba37ef

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

HEX
#ba37ef
RGB
186, 55, 239
HSL
282.72°, 85.19%, 57.65%
OKLCH
0.61 0.26 313.69
Names
—
Lists

Codes

FormatValue
HEX#ba37ef
RGBrgb(186 55 239)
HSLhsl(282.72 85.19% 57.65%)
OKLCHoklch(0.61 0.26 313.69)
CMYKcmyk(22.18% 76.99% 0% 6.27%)
Android#ffba37ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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