Skip to content

#bab3ec

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

RGB
186, 179, 236
HSL
247°, 60%, 81%
CMYK
21, 24, 0, 8
Luminance
0.4874

Every format

HEX#bab3ec
RGBrgb(186, 179, 236)
HSLhsl(247, 60%, 81%)
CMYKcmyk(21%, 24%, 0%, 8%)
LABlab(75.3 14.2 -27.5)
LCHlch(75.3 30.9 297.3)
OKLCHoklch(0.792 0.080 290.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab3ec on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#bab3ec on black: 10.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green70.2%
Blue92.5%

CMYK percentages

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

Color previews

#bab3ec text on a black background

contrast 10.75:1

Card sample

#bab3ec text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab3ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab3ec in the Color Lab