Skip to content

#babdf1

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

RGB
186, 189, 241
HSL
237°, 66%, 84%
CMYK
23, 22, 0, 6
Luminance
0.5319

Every format

HEX#babdf1
RGBrgb(186, 189, 241)
HSLhsl(237, 66%, 84%)
CMYKcmyk(23%, 22%, 0%, 6%)
LABlab(78.0 9.8 -26.1)
LCHlch(78.0 27.9 290.7)
OKLCHoklch(0.814 0.073 282.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#babdf1 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#babdf1 on black: 11.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green74.1%
Blue94.5%

CMYK percentages

Cyan22.8%
Magenta21.6%
Yellow0.0%
Key (black)5.5%

Color previews

#babdf1 text on a black background

contrast 11.64:1

Card sample

#babdf1 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #babdf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #babdf1 in the Color Lab