Skip to content

#bab4df

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

RGB
186, 180, 223
HSL
248°, 40%, 79%
CMYK
17, 19, 0, 13
Luminance
0.4841

Every format

HEX#bab4df
RGBrgb(186, 180, 223)
HSLhsl(248, 40%, 79%)
CMYKcmyk(17%, 19%, 0%, 13%)
LABlab(75.1 10.7 -20.8)
LCHlch(75.1 23.4 297.3)
OKLCHoklch(0.789 0.061 291.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab4df on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#bab4df on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green70.6%
Blue87.5%

CMYK percentages

Cyan16.6%
Magenta19.3%
Yellow0.0%
Key (black)12.5%

Color previews

#bab4df text on a black background

contrast 10.68:1

Card sample

#bab4df text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab4df in the Color Lab