Skip to content

#b4afbc

a light, muted violet · warm · closest name: silver

RGB
180, 175, 188
HSL
263°, 9%, 71%
CMYK
4, 7, 0, 26
Luminance
0.4399

Every format

HEX#b4afbc
RGBrgb(180, 175, 188)
HSLhsl(263, 9%, 71%)
CMYKcmyk(4%, 7%, 0%, 26%)
LABlab(72.2 4.2 -6.0)
LCHlch(72.2 7.3 305.3)
OKLCHoklch(0.762 0.019 303.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4afbc on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#b4afbc on black: 9.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green68.6%
Blue73.7%

CMYK percentages

Cyan4.3%
Magenta6.9%
Yellow0.0%
Key (black)26.3%

Color previews

#b4afbc text on a black background

contrast 9.80:1

Card sample

#b4afbc text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4afbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4afbc in the Color Lab