Skip to content

#bab2eb

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

RGB
186, 178, 235
HSL
248°, 59%, 81%
CMYK
21, 24, 0, 8
Luminance
0.4828

Every format

HEX#bab2eb
RGBrgb(186, 178, 235)
HSLhsl(248, 59%, 81%)
CMYKcmyk(21%, 24%, 0%, 8%)
LABlab(75.0 14.5 -27.4)
LCHlch(75.0 31.0 297.9)
OKLCHoklch(0.790 0.081 290.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab2eb on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#bab2eb on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.8%
Blue92.2%

CMYK percentages

Cyan20.9%
Magenta24.3%
Yellow0.0%
Key (black)7.8%

Color previews

#bab2eb text on a black background

contrast 10.66:1

Card sample

#bab2eb text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab2eb in the Color Lab