Skip to content

#bab9fc

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

RGB
186, 185, 252
HSL
241°, 92%, 86%
CMYK
26, 27, 0, 1
Luminance
0.5217

Every format

HEX#bab9fc
RGBrgb(186, 185, 252)
HSLhsl(241, 92%, 86%)
CMYKcmyk(26%, 27%, 0%, 1%)
LABlab(77.4 14.6 -32.9)
LCHlch(77.4 36.0 293.9)
OKLCHoklch(0.810 0.094 284.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab9fc on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#bab9fc on black: 11.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green72.5%
Blue98.8%

CMYK percentages

Cyan26.2%
Magenta26.6%
Yellow0.0%
Key (black)1.2%

Color previews

#bab9fc text on a black background

contrast 11.43:1

Card sample

#bab9fc text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab9fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab9fc in the Color Lab