Skip to content
Vectorlight.net

#bab8cb

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

HEX
#bab8cb
RGB
186, 184, 203
HSL
246.32°, 15.45%, 75.88%
OKLCH
0.79 0.03 290.61
Names
—
Lists

Codes

FormatValue
HEX#bab8cb
RGBrgb(186 184 203)
HSLhsl(246.32 15.45% 75.88%)
OKLCHoklch(0.79 0.03 290.61)
CMYKcmyk(8.37% 9.36% 0% 20.39%)
Android#ffbab8cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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