Skip to content
Vectorlight.net

#bab2eb

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

HEX
#bab2eb
RGB
186, 178, 235
HSL
248.42°, 58.76%, 80.98%
OKLCH
0.79 0.08 290.87
Names
—
Lists

Codes

FormatValue
HEX#bab2eb
RGBrgb(186 178 235)
HSLhsl(248.42 58.76% 80.98%)
OKLCHoklch(0.79 0.08 290.87)
CMYKcmyk(20.85% 24.26% 0% 7.84%)
Android#ffbab2eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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