Skip to content

#bab1df

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

RGB
186, 177, 223
HSL
252°, 42%, 78%
CMYK
17, 21, 0, 13
Luminance
0.4721

Every format

HEX#bab1df
RGBrgb(186, 177, 223)
HSLhsl(252, 42%, 78%)
CMYKcmyk(17%, 21%, 0%, 13%)
LABlab(74.3 12.4 -21.9)
LCHlch(74.3 25.2 299.4)
OKLCHoklch(0.783 0.065 293.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab1df on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#bab1df on black: 10.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.4%
Blue87.5%

CMYK percentages

Cyan16.6%
Magenta20.6%
Yellow0.0%
Key (black)12.5%

Color previews

#bab1df text on a black background

contrast 10.44:1

Card sample

#bab1df text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab1df in the Color Lab