Skip to content
Vectorlight.net

#bab9df

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

HEX
#bab9df
RGB
186, 185, 223
HSL
241.58°, 37.25%, 80%
OKLCH
0.8 0.05 286.33
Names
—
Lists

Codes

FormatValue
HEX#bab9df
RGBrgb(186 185 223)
HSLhsl(241.58 37.25% 80%)
OKLCHoklch(0.8 0.05 286.33)
CMYKcmyk(16.59% 17.04% 0% 12.55%)
Android#ffbab9df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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