Skip to content
Vectorlight.net

#ba3eda

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

HEX
#ba3eda
RGB
186, 62, 218
HSL
287.69°, 67.83%, 54.9%
OKLCH
0.61 0.24 318.49
Names
—
Lists

Codes

FormatValue
HEX#ba3eda
RGBrgb(186 62 218)
HSLhsl(287.69 67.83% 54.9%)
OKLCHoklch(0.61 0.24 318.49)
CMYKcmyk(14.68% 71.56% 0% 14.51%)
Android#ffba3eda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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