Skip to content

#babcf2

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

RGB
186, 188, 242
HSL
238°, 68%, 84%
CMYK
23, 22, 0, 5
Luminance
0.5282

Every format

HEX#babcf2
RGBrgb(186, 188, 242)
HSLhsl(238, 68%, 84%)
CMYKcmyk(23%, 22%, 0%, 5%)
LABlab(77.8 10.6 -26.9)
LCHlch(77.8 29.0 291.5)
OKLCHoklch(0.812 0.076 282.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green73.7%
Blue94.9%

CMYK percentages

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

Color previews

#babcf2 text on a black background

contrast 11.56:1

Card sample

#babcf2 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #babcf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #babcf2 in the Color Lab