Skip to content
Vectorlight.net

#bab7ea

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

HEX
#bab7ea
RGB
186, 183, 234
HSL
243.53°, 54.84%, 81.76%
OKLCH
0.8 0.07 287.35
Names
—
Lists

Codes

FormatValue
HEX#bab7ea
RGBrgb(186 183 234)
HSLhsl(243.53 54.84% 81.76%)
OKLCHoklch(0.8 0.07 287.35)
CMYKcmyk(20.51% 21.79% 0% 8.24%)
Android#ffbab7ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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