Skip to content

#babafb

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

RGB
186, 186, 251
HSL
240°, 89%, 86%
CMYK
26, 26, 0, 2
Luminance
0.5252

Every format

HEX#babafb
RGBrgb(186, 186, 251)
HSLhsl(240, 89%, 86%)
CMYKcmyk(26%, 26%, 0%, 2%)
LABlab(77.6 13.8 -32.0)
LCHlch(77.6 34.9 293.3)
OKLCHoklch(0.812 0.091 284.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#babafb on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#babafb on black: 11.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green72.9%
Blue98.4%

CMYK percentages

Cyan25.9%
Magenta25.9%
Yellow0.0%
Key (black)1.6%

Color previews

#babafb text on a black background

contrast 11.50:1

Card sample

#babafb text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #babafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #babafb in the Color Lab