Skip to content

#bab8df

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

RGB
186, 184, 223
HSL
243°, 38%, 80%
CMYK
17, 18, 0, 13
Luminance
0.5005

Every format

HEX#bab8df
RGBrgb(186, 184, 223)
HSLhsl(243, 38%, 80%)
CMYKcmyk(17%, 18%, 0%, 13%)
LABlab(76.1 8.5 -19.2)
LCHlch(76.1 21.0 293.9)
OKLCHoklch(0.797 0.055 287.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab8df on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#bab8df on black: 11.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green72.2%
Blue87.5%

CMYK percentages

Cyan16.6%
Magenta17.5%
Yellow0.0%
Key (black)12.5%

Color previews

#bab8df text on a black background

contrast 11.01:1

Card sample

#bab8df text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab8df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab8df in the Color Lab