Skip to content

#b2baf0

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

RGB
178, 186, 240
HSL
232°, 67%, 82%
CMYK
26, 23, 0, 6
Luminance
0.5087

Every format

HEX#b2baf0
RGBrgb(178, 186, 240)
HSLhsl(232, 67%, 82%)
CMYKcmyk(26%, 23%, 0%, 6%)
LABlab(76.6 8.8 -27.7)
LCHlch(76.6 29.1 287.7)
OKLCHoklch(0.801 0.077 278.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2baf0 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#b2baf0 on black: 11.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green72.9%
Blue94.1%

CMYK percentages

Cyan25.8%
Magenta22.5%
Yellow0.0%
Key (black)5.9%

Color previews

#b2baf0 text on a black background

contrast 11.17:1

Card sample

#b2baf0 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2baf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2baf0 in the Color Lab