Skip to content

#bab0f2

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

RGB
186, 176, 242
HSL
249°, 72%, 82%
CMYK
23, 27, 0, 5
Luminance
0.4790

Every format

HEX#bab0f2
RGBrgb(186, 176, 242)
HSLhsl(249, 72%, 82%)
CMYKcmyk(23%, 27%, 0%, 5%)
LABlab(74.8 17.2 -31.6)
LCHlch(74.8 35.9 298.6)
OKLCHoklch(0.789 0.093 291.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab0f2 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#bab0f2 on black: 10.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.0%
Blue94.9%

CMYK percentages

Cyan23.1%
Magenta27.3%
Yellow0.0%
Key (black)5.1%

Color previews

#bab0f2 text on a black background

contrast 10.58:1

Card sample

#bab0f2 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab0f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab0f2 in the Color Lab