Skip to content

#bab2ec

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

RGB
186, 178, 236
HSL
248°, 60%, 81%
CMYK
21, 25, 0, 8
Luminance
0.4834

Every format

HEX#bab2ec
RGBrgb(186, 178, 236)
HSLhsl(248, 60%, 81%)
CMYKcmyk(21%, 25%, 0%, 8%)
LABlab(75.0 14.7 -27.9)
LCHlch(75.0 31.5 297.8)
OKLCHoklch(0.790 0.082 290.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green69.8%
Blue92.5%

CMYK percentages

Cyan21.2%
Magenta24.6%
Yellow0.0%
Key (black)7.5%

Color previews

#bab2ec text on a black background

contrast 10.67:1

Card sample

#bab2ec text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab2ec in the Color Lab