Skip to content

#bab2ee

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

RGB
186, 178, 238
HSL
248°, 64%, 82%
CMYK
22, 25, 0, 7
Luminance
0.4845

Every format

HEX#bab2ee
RGBrgb(186, 178, 238)
HSLhsl(248, 64%, 82%)
CMYKcmyk(22%, 25%, 0%, 7%)
LABlab(75.1 15.2 -28.9)
LCHlch(75.1 32.6 297.7)
OKLCHoklch(0.791 0.085 290.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab2ee on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#bab2ee on black: 10.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.8%
Blue93.3%

CMYK percentages

Cyan21.8%
Magenta25.2%
Yellow0.0%
Key (black)6.7%

Color previews

#bab2ee text on a black background

contrast 10.69:1

Card sample

#bab2ee text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab2ee in the Color Lab