Skip to content
Vectorlight.net

#bab8eb

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

HEX
#bab8eb
RGB
186, 184, 235
HSL
242.35°, 56.04%, 82.16%
OKLCH
0.8 0.07 286.46
Names
—
Lists

Codes

FormatValue
HEX#bab8eb
RGBrgb(186 184 235)
HSLhsl(242.35 56.04% 82.16%)
OKLCHoklch(0.8 0.07 286.46)
CMYKcmyk(20.85% 21.7% 0% 7.84%)
Android#ffbab8eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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