Skip to content
Vectorlight.net

#bab5fa

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

HEX
#bab5fa
RGB
186, 181, 250
HSL
244.35°, 87.34%, 84.51%
OKLCH
0.8 0.1 287.32
Names
—
Lists

Codes

FormatValue
HEX#bab5fa
RGBrgb(186 181 250)
HSLhsl(244.35 87.34% 84.51%)
OKLCHoklch(0.8 0.1 287.32)
CMYKcmyk(25.6% 27.6% 0% 1.96%)
Android#ffbab5fa

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.07: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="#bab5fa"
Gradient stop
<stop stop-color="#bab5fa"/>
CSS variable + fill
:root { --c: #bab5fa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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