Skip to content

#bab1eb

a light, vivid blue · warm · closest name: plum

RGB
186, 177, 235
HSL
249°, 59%, 81%
CMYK
21, 25, 0, 8
Luminance
0.4788

Every format

HEX#bab1eb
RGBrgb(186, 177, 235)
HSLhsl(249, 59%, 81%)
CMYKcmyk(21%, 25%, 0%, 8%)
LABlab(74.8 15.0 -27.8)
LCHlch(74.8 31.6 298.4)
OKLCHoklch(0.788 0.082 291.5)

Copy-ready code

/* CSS */
color: #bab1eb;
background-color: #bab1eb;
/* Tailwind (arbitrary) */
class="text-[#bab1eb] bg-[#bab1eb]"
/* SCSS */
$brand: #bab1eb;
/* SwiftUI */
Color(red: 0.729, green: 0.694, blue: 0.922)
/* Android */
Color.parseColor("#bab1eb")

Accessibility — WCAG contrast

Aa
#bab1eb on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#bab1eb on black: 10.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.4%
Blue92.2%

CMYK percentages

Cyan20.9%
Magenta24.7%
Yellow0.0%
Key (black)7.8%

Color previews

#bab1eb text on a black background

contrast 10.58:1

Card sample

#bab1eb text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #bab1eb;
Background color
Panel with #bab1eb background
background-color: #bab1eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #bab1eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(186, 177, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 177, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab1eb;
background: linear-gradient(135deg, #bab1eb, #E1B1EB);

Monochromatic scale

Palettes built from #bab1eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab1eb in the Color Lab