Skip to content

#b2aaee

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

RGB
178, 170, 238
HSL
247°, 67%, 80%
CMYK
25, 29, 0, 7
Luminance
0.4439

Every format

HEX#b2aaee
RGBrgb(178, 170, 238)
HSLhsl(247, 67%, 80%)
CMYKcmyk(25%, 29%, 0%, 7%)
LABlab(72.5 17.2 -33.0)
LCHlch(72.5 37.2 297.6)
OKLCHoklch(0.769 0.097 289.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2aaee on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#b2aaee on black: 9.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green66.7%
Blue93.3%

CMYK percentages

Cyan25.2%
Magenta28.6%
Yellow0.0%
Key (black)6.7%

Color previews

#b2aaee text on a black background

contrast 9.88:1

Card sample

#b2aaee text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2aaee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2aaee in the Color Lab