Skip to content

#b2badf

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

RGB
178, 186, 223
HSL
229°, 41%, 79%
CMYK
20, 17, 0, 13
Luminance
0.4991

Every format

HEX#b2badf
RGBrgb(178, 186, 223)
HSLhsl(229, 41%, 79%)
CMYKcmyk(20%, 17%, 0%, 13%)
LABlab(76.0 5.0 -19.4)
LCHlch(76.0 20.0 284.3)
OKLCHoklch(0.795 0.053 275.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2badf on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#b2badf on black: 10.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green72.9%
Blue87.5%

CMYK percentages

Cyan20.2%
Magenta16.6%
Yellow0.0%
Key (black)12.5%

Color previews

#b2badf text on a black background

contrast 10.98:1

Card sample

#b2badf text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2badf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2badf in the Color Lab