Skip to content

#bab2df

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

RGB
186, 178, 223
HSL
251°, 41%, 79%
CMYK
17, 20, 0, 13
Luminance
0.4761

Every format

HEX#bab2df
RGBrgb(186, 178, 223)
HSLhsl(251, 41%, 79%)
CMYKcmyk(17%, 20%, 0%, 13%)
LABlab(74.6 11.8 -21.5)
LCHlch(74.6 24.6 298.8)
OKLCHoklch(0.785 0.064 293.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab2df on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#bab2df on black: 10.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.8%
Blue87.5%

CMYK percentages

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

Color previews

#bab2df text on a black background

contrast 10.52:1

Card sample

#bab2df text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab2df in the Color Lab