Skip to content

#babfef

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

RGB
186, 191, 239
HSL
234°, 62%, 83%
CMYK
22, 20, 0, 6
Luminance
0.5393

Every format

HEX#babfef
RGBrgb(186, 191, 239)
HSLhsl(234, 62%, 83%)
CMYKcmyk(22%, 20%, 0%, 6%)
LABlab(78.4 8.3 -24.3)
LCHlch(78.4 25.7 288.8)
OKLCHoklch(0.817 0.068 280.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#babfef on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#babfef on black: 11.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green74.9%
Blue93.7%

CMYK percentages

Cyan22.2%
Magenta20.1%
Yellow0.0%
Key (black)6.3%

Color previews

#babfef text on a black background

contrast 11.79:1

Card sample

#babfef text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #babfef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #babfef in the Color Lab