Skip to content

#bab0fc

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

RGB
186, 176, 252
HSL
248°, 93%, 84%
CMYK
26, 30, 0, 1
Luminance
0.4852

Every format

HEX#bab0fc
RGBrgb(186, 176, 252)
HSLhsl(248, 93%, 84%)
CMYKcmyk(26%, 30%, 0%, 1%)
LABlab(75.2 19.5 -36.4)
LCHlch(75.2 41.3 298.3)
OKLCHoklch(0.793 0.107 289.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green69.0%
Blue98.8%

CMYK percentages

Cyan26.2%
Magenta30.2%
Yellow0.0%
Key (black)1.2%

Color previews

#bab0fc text on a black background

contrast 10.70:1

Card sample

#bab0fc text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab0fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab0fc in the Color Lab