Skip to content

#bab2fc

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

RGB
186, 178, 252
HSL
247°, 93%, 84%
CMYK
26, 29, 0, 1
Luminance
0.4931

Every format

HEX#bab2fc
RGBrgb(186, 178, 252)
HSLhsl(247, 93%, 84%)
CMYKcmyk(26%, 29%, 0%, 1%)
LABlab(75.6 18.4 -35.6)
LCHlch(75.6 40.1 297.4)
OKLCHoklch(0.797 0.104 288.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab2fc on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#bab2fc on black: 10.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan26.2%
Magenta29.4%
Yellow0.0%
Key (black)1.2%

Color previews

#bab2fc text on a black background

contrast 10.86:1

Card sample

#bab2fc text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab2fc in the Color Lab