Skip to content

#b4afdf

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

RGB
180, 175, 223
HSL
246°, 43%, 78%
CMYK
19, 22, 0, 13
Luminance
0.4569

Every format

HEX#b4afdf
RGBrgb(180, 175, 223)
HSLhsl(246, 43%, 78%)
CMYKcmyk(19%, 22%, 0%, 13%)
LABlab(73.3 11.6 -23.5)
LCHlch(73.3 26.2 296.3)
OKLCHoklch(0.775 0.068 289.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4afdf on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#b4afdf on black: 10.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green68.6%
Blue87.5%

CMYK percentages

Cyan19.3%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#b4afdf text on a black background

contrast 10.14:1

Card sample

#b4afdf text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4afdf in the Color Lab