Skip to content

#bab4eb

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

RGB
186, 180, 235
HSL
247°, 58%, 81%
CMYK
21, 23, 0, 8
Luminance
0.4908

Every format

HEX#bab4eb
RGBrgb(186, 180, 235)
HSLhsl(247, 58%, 81%)
CMYKcmyk(21%, 23%, 0%, 8%)
LABlab(75.5 13.4 -26.6)
LCHlch(75.5 29.8 296.7)
OKLCHoklch(0.794 0.077 289.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green70.6%
Blue92.2%

CMYK percentages

Cyan20.9%
Magenta23.4%
Yellow0.0%
Key (black)7.8%

Color previews

#bab4eb text on a black background

contrast 10.82:1

Card sample

#bab4eb text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab4eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab4eb in the Color Lab