Skip to content

#b4ace3

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

RGB
180, 172, 227
HSL
249°, 50%, 78%
CMYK
21, 24, 0, 11
Luminance
0.4475

Every format

HEX#b4ace3
RGBrgb(180, 172, 227)
HSLhsl(249, 50%, 78%)
CMYKcmyk(21%, 24%, 0%, 11%)
LABlab(72.7 14.2 -26.6)
LCHlch(72.7 30.1 298.0)
OKLCHoklch(0.770 0.078 291.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.6%
Green67.5%
Blue89.0%

CMYK percentages

Cyan20.7%
Magenta24.2%
Yellow0.0%
Key (black)11.0%

Color previews

#b4ace3 text on a black background

contrast 9.95:1

Card sample

#b4ace3 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4ace3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4ace3 in the Color Lab