Skip to content

#bab4fd

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

RGB
186, 180, 253
HSL
245°, 95%, 85%
CMYK
27, 29, 0, 1
Luminance
0.5017

Every format

HEX#bab4fd
RGBrgb(186, 180, 253)
HSLhsl(245, 95%, 85%)
CMYKcmyk(27%, 29%, 0%, 1%)
LABlab(76.2 17.6 -35.3)
LCHlch(76.2 39.4 296.5)
OKLCHoklch(0.801 0.102 287.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab4fd on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#bab4fd on black: 11.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green70.6%
Blue99.2%

CMYK percentages

Cyan26.5%
Magenta28.9%
Yellow0.0%
Key (black)0.8%

Color previews

#bab4fd text on a black background

contrast 11.03:1

Card sample

#bab4fd text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab4fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab4fd in the Color Lab