Skip to content
Vectorlight.net

#ba81de

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

HEX
#ba81de
RGB
186, 129, 222
HSL
276.77°, 58.49%, 68.82%
OKLCH
0.7 0.14 311.31
Names
—
Lists

Codes

FormatValue
HEX#ba81de
RGBrgb(186 129 222)
HSLhsl(276.77 58.49% 68.82%)
OKLCHoklch(0.7 0.14 311.31)
CMYKcmyk(16.22% 41.89% 0% 12.94%)
Android#ffba81de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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