Skip to content

#b4ace2

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

RGB
180, 172, 226
HSL
249°, 48%, 78%
CMYK
20, 24, 0, 11
Luminance
0.4470

Every format

HEX#b4ace2
RGBrgb(180, 172, 226)
HSLhsl(249, 48%, 78%)
CMYKcmyk(20%, 24%, 0%, 11%)
LABlab(72.7 13.9 -26.1)
LCHlch(72.7 29.6 298.1)
OKLCHoklch(0.770 0.077 291.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4ace2 on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#b4ace2 on black: 9.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green67.5%
Blue88.6%

CMYK percentages

Cyan20.4%
Magenta23.9%
Yellow0.0%
Key (black)11.4%

Color previews

#b4ace2 text on a black background

contrast 9.94:1

Card sample

#b4ace2 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4ace2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4ace2 in the Color Lab