Skip to content

#b2baf4

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

RGB
178, 186, 244
HSL
233°, 75%, 83%
CMYK
27, 24, 0, 4
Luminance
0.5111

Every format

HEX#b2baf4
RGBrgb(178, 186, 244)
HSLhsl(233, 75%, 83%)
CMYKcmyk(27%, 24%, 0%, 4%)
LABlab(76.8 9.8 -29.6)
LCHlch(76.8 31.2 288.3)
OKLCHoklch(0.803 0.083 278.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2baf4 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#b2baf4 on black: 11.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green72.9%
Blue95.7%

CMYK percentages

Cyan27.0%
Magenta23.8%
Yellow0.0%
Key (black)4.3%

Color previews

#b2baf4 text on a black background

contrast 11.22:1

Card sample

#b2baf4 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2baf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2baf4 in the Color Lab