Skip to content

#bab6df

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

RGB
186, 182, 223
HSL
246°, 39%, 79%
CMYK
17, 18, 0, 13
Luminance
0.4922

Every format

HEX#bab6df
RGBrgb(186, 182, 223)
HSLhsl(246, 39%, 79%)
CMYKcmyk(17%, 18%, 0%, 13%)
LABlab(75.6 9.6 -20.0)
LCHlch(75.6 22.2 295.7)
OKLCHoklch(0.793 0.058 289.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab6df on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#bab6df on black: 10.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green71.4%
Blue87.5%

CMYK percentages

Cyan16.6%
Magenta18.4%
Yellow0.0%
Key (black)12.5%

Color previews

#bab6df text on a black background

contrast 10.84:1

Card sample

#bab6df text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab6df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab6df in the Color Lab