Skip to content
Vectorlight.net

#bab4cf

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

HEX
#bab4cf
RGB
186, 180, 207
HSL
253.33°, 21.95%, 75.88%
OKLCH
0.78 0.04 295.68
Names
—
Lists

Codes

FormatValue
HEX#bab4cf
RGBrgb(186 180 207)
HSLhsl(253.33 21.95% 75.88%)
OKLCHoklch(0.78 0.04 295.68)
CMYKcmyk(10.14% 13.04% 0% 18.82%)
Android#ffbab4cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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