Skip to content

#b2baf9

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

RGB
178, 186, 249
HSL
233°, 86%, 84%
CMYK
29, 25, 0, 2
Luminance
0.5142

Every format

HEX#b2baf9
RGBrgb(178, 186, 249)
HSLhsl(233, 86%, 84%)
CMYKcmyk(29%, 25%, 0%, 2%)
LABlab(76.9 11.0 -32.0)
LCHlch(76.9 33.9 288.9)
OKLCHoklch(0.805 0.089 278.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2baf9 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#b2baf9 on black: 11.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green72.9%
Blue97.6%

CMYK percentages

Cyan28.5%
Magenta25.3%
Yellow0.0%
Key (black)2.4%

Color previews

#b2baf9 text on a black background

contrast 11.28:1

Card sample

#b2baf9 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2baf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2baf9 in the Color Lab