Skip to content

#babafe

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

RGB
186, 186, 254
HSL
240°, 97%, 86%
CMYK
27, 27, 0, 0
Luminance
0.5271

Every format

HEX#babafe
RGBrgb(186, 186, 254)
HSLhsl(240, 97%, 86%)
CMYKcmyk(27%, 27%, 0%, 0%)
LABlab(77.7 14.5 -33.5)
LCHlch(77.7 36.5 293.4)
OKLCHoklch(0.813 0.095 284.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#babafe on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#babafe on black: 11.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green72.9%
Blue99.6%

CMYK percentages

Cyan26.8%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#babafe text on a black background

contrast 11.54:1

Card sample

#babafe text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #babafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #babafe in the Color Lab