Skip to content
Vectorlight.net

#ba0ebd

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

HEX
#ba0ebd
RGB
186, 14, 189
HSL
298.97°, 86.21%, 39.8%
OKLCH
0.56 0.25 327.45
Names
—
Lists

Codes

FormatValue
HEX#ba0ebd
RGBrgb(186 14 189)
HSLhsl(298.97 86.21% 39.8%)
OKLCHoklch(0.56 0.25 327.45)
CMYKcmyk(1.59% 92.59% 0% 25.88%)
Android#ffba0ebd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.40:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.88:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ba0ebd"
Gradient stop
<stop stop-color="#ba0ebd"/>
CSS variable + fill
:root { --c: #ba0ebd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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