Skip to content

#bab0df

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

RGB
186, 176, 223
HSL
253°, 42%, 78%
CMYK
17, 21, 0, 13
Luminance
0.4682

Every format

HEX#bab0df
RGBrgb(186, 176, 223)
HSLhsl(253, 42%, 78%)
CMYKcmyk(17%, 21%, 0%, 13%)
LABlab(74.1 12.9 -22.3)
LCHlch(74.1 25.8 300.1)
OKLCHoklch(0.781 0.067 294.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab0df on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#bab0df on black: 10.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.0%
Blue87.5%

CMYK percentages

Cyan16.6%
Magenta21.1%
Yellow0.0%
Key (black)12.5%

Color previews

#bab0df text on a black background

contrast 10.36:1

Card sample

#bab0df text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab0df in the Color Lab