Skip to content
Vectorlight.net

#ba35ef

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

HEX
#ba35ef
RGB
186, 53, 239
HSL
282.9°, 85.32%, 57.25%
OKLCH
0.61 0.26 313.78
Names
—
Lists

Codes

FormatValue
HEX#ba35ef
RGBrgb(186 53 239)
HSLhsl(282.9 85.32% 57.25%)
OKLCHoklch(0.61 0.26 313.78)
CMYKcmyk(22.18% 77.82% 0% 6.27%)
Android#ffba35ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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