Skip to content

#babfe7

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

RGB
186, 191, 231
HSL
233°, 48%, 82%
CMYK
20, 17, 0, 9
Luminance
0.5347

Every format

HEX#babfe7
RGBrgb(186, 191, 231)
HSLhsl(233, 48%, 82%)
CMYKcmyk(20%, 17%, 0%, 9%)
LABlab(78.2 6.5 -20.4)
LCHlch(78.2 21.4 287.6)
OKLCHoklch(0.814 0.057 279.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green74.9%
Blue90.6%

CMYK percentages

Cyan19.5%
Magenta17.3%
Yellow0.0%
Key (black)9.4%

Color previews

#babfe7 text on a black background

contrast 11.69:1

Card sample

#babfe7 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #babfe7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #babfe7 in the Color Lab