Skip to content

#bab2dc

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

RGB
186, 178, 220
HSL
251°, 38%, 78%
CMYK
16, 19, 0, 14
Luminance
0.4745

Every format

HEX#bab2dc
RGBrgb(186, 178, 220)
HSLhsl(251, 38%, 78%)
CMYKcmyk(16%, 19%, 0%, 14%)
LABlab(74.5 11.2 -20.1)
LCHlch(74.5 23.0 299.1)
OKLCHoklch(0.784 0.060 293.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green69.8%
Blue86.3%

CMYK percentages

Cyan15.5%
Magenta19.1%
Yellow0.0%
Key (black)13.7%

Color previews

#bab2dc text on a black background

contrast 10.49:1

Card sample

#bab2dc text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab2dc in the Color Lab