Skip to content

#b5ace4

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

RGB
181, 172, 228
HSL
250°, 51%, 78%
CMYK
21, 25, 0, 11
Luminance
0.4493

Every format

HEX#b5ace4
RGBrgb(181, 172, 228)
HSLhsl(250, 51%, 78%)
CMYKcmyk(21%, 25%, 0%, 11%)
LABlab(72.8 14.7 -26.9)
LCHlch(72.8 30.7 298.6)
OKLCHoklch(0.771 0.080 291.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b5ace4 on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#b5ace4 on black: 9.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green67.5%
Blue89.4%

CMYK percentages

Cyan20.6%
Magenta24.6%
Yellow0.0%
Key (black)10.6%

Color previews

#b5ace4 text on a black background

contrast 9.99:1

Card sample

#b5ace4 text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5ace4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5ace4 in the Color Lab