Skip to content

#babfe2

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

RGB
186, 191, 226
HSL
233°, 41%, 81%
CMYK
18, 16, 0, 11
Luminance
0.5319

Every format

HEX#babfe2
RGBrgb(186, 191, 226)
HSLhsl(233, 41%, 81%)
CMYKcmyk(18%, 16%, 0%, 11%)
LABlab(78.0 5.4 -18.0)
LCHlch(78.0 18.8 286.7)
OKLCHoklch(0.812 0.050 278.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green74.9%
Blue88.6%

CMYK percentages

Cyan17.7%
Magenta15.5%
Yellow0.0%
Key (black)11.4%

Color previews

#babfe2 text on a black background

contrast 11.64:1

Card sample

#babfe2 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #babfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #babfe2 in the Color Lab