Skip to content
Vectorlight.net

#ba91ec

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

HEX
#ba91ec
RGB
186, 145, 236
HSL
267.03°, 70.54%, 74.71%
OKLCH
0.73 0.13 303.99
Names
—
Lists

Codes

FormatValue
HEX#ba91ec
RGBrgb(186 145 236)
HSLhsl(267.03 70.54% 74.71%)
OKLCHoklch(0.73 0.13 303.99)
CMYKcmyk(21.19% 38.56% 0% 7.45%)
Android#ffba91ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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