Skip to content
Vectorlight.net

#ba81da

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

HEX
#ba81da
RGB
186, 129, 218
HSL
278.43°, 54.6%, 68.04%
OKLCH
0.69 0.14 312.61
Names
—
Lists

Codes

FormatValue
HEX#ba81da
RGBrgb(186 129 218)
HSLhsl(278.43 54.6% 68.04%)
OKLCHoklch(0.69 0.14 312.61)
CMYKcmyk(14.68% 40.83% 0% 14.51%)
Android#ffba81da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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