Skip to content
Vectorlight.net

#bab3fe

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

HEX
#bab3fe
RGB
186, 179, 254
HSL
245.6°, 97.4%, 84.9%
OKLCH
0.8 0.11 288.04
Names
—
Lists

Codes

FormatValue
HEX#bab3fe
RGBrgb(186 179 254)
HSLhsl(245.6 97.4% 84.9%)
OKLCHoklch(0.8 0.11 288.04)
CMYKcmyk(26.77% 29.53% 0% 0.39%)
Android#ffbab3fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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