Skip to content

#b2ace4

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

RGB
178, 172, 228
HSL
246°, 51%, 78%
CMYK
22, 25, 0, 11
Luminance
0.4457

Every format

HEX#b2ace4
RGBrgb(178, 172, 228)
HSLhsl(246, 51%, 78%)
CMYKcmyk(22%, 25%, 0%, 11%)
LABlab(72.6 13.8 -27.3)
LCHlch(72.6 30.6 296.7)
OKLCHoklch(0.769 0.080 289.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan21.9%
Magenta24.6%
Yellow0.0%
Key (black)10.6%

Color previews

#b2ace4 text on a black background

contrast 9.91:1

Card sample

#b2ace4 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ace4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ace4 in the Color Lab