Skip to content
Vectorlight.net

#ba5eda

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

HEX
#ba5eda
RGB
186, 94, 218
HSL
284.52°, 62.63%, 61.18%
OKLCH
0.64 0.2 316.56
Names
—
Lists

Codes

FormatValue
HEX#ba5eda
RGBrgb(186 94 218)
HSLhsl(284.52 62.63% 61.18%)
OKLCHoklch(0.64 0.2 316.56)
CMYKcmyk(14.68% 56.88% 0% 14.51%)
Android#ffba5eda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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