Skip to content

#b2afdb

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

RGB
178, 175, 219
HSL
244°, 38%, 77%
CMYK
19, 20, 0, 14
Luminance
0.4524

Every format

HEX#b2afdb
RGBrgb(178, 175, 219)
HSLhsl(244, 38%, 77%)
CMYKcmyk(19%, 20%, 0%, 14%)
LABlab(73.0 10.1 -21.7)
LCHlch(73.0 24.0 294.9)
OKLCHoklch(0.771 0.062 288.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2afdb on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#b2afdb on black: 10.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green68.6%
Blue85.9%

CMYK percentages

Cyan18.7%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#b2afdb text on a black background

contrast 10.05:1

Card sample

#b2afdb text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2afdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2afdb in the Color Lab