Skip to content
Vectorlight.net

#bab9ec

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

HEX
#bab9ec
RGB
186, 185, 236
HSL
241.18°, 57.3%, 82.55%
OKLCH
0.8 0.07 285.57
Names
—
Lists

Codes

FormatValue
HEX#bab9ec
RGBrgb(186 185 236)
HSLhsl(241.18 57.3% 82.55%)
OKLCHoklch(0.8 0.07 285.57)
CMYKcmyk(21.19% 21.61% 0% 7.45%)
Android#ffbab9ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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