Skip to content

#b2ace5

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

RGB
178, 172, 229
HSL
246°, 52%, 79%
CMYK
22, 25, 0, 10
Luminance
0.4463

Every format

HEX#b2ace5
RGBrgb(178, 172, 229)
HSLhsl(246, 52%, 79%)
CMYKcmyk(22%, 25%, 0%, 10%)
LABlab(72.7 14.0 -27.8)
LCHlch(72.7 31.1 296.7)
OKLCHoklch(0.769 0.081 289.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2ace5 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#b2ace5 on black: 9.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green67.5%
Blue89.8%

CMYK percentages

Cyan22.3%
Magenta24.9%
Yellow0.0%
Key (black)10.2%

Color previews

#b2ace5 text on a black background

contrast 9.93:1

Card sample

#b2ace5 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ace5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ace5 in the Color Lab