Skip to content
Vectorlight.net

#bab5ea

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

HEX
#bab5ea
RGB
186, 181, 234
HSL
245.66°, 55.79%, 81.37%
OKLCH
0.8 0.07 288.9
Names
—
Lists

Codes

FormatValue
HEX#bab5ea
RGBrgb(186 181 234)
HSLhsl(245.66 55.79% 81.37%)
OKLCHoklch(0.8 0.07 288.9)
CMYKcmyk(20.51% 22.65% 0% 8.24%)
Android#ffbab5ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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