Skip to content

#b2abee

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

RGB
178, 171, 238
HSL
246°, 66%, 80%
CMYK
25, 28, 0, 7
Luminance
0.4476

Every format

HEX#b2abee
RGBrgb(178, 171, 238)
HSLhsl(246, 66%, 80%)
CMYKcmyk(25%, 28%, 0%, 7%)
LABlab(72.7 16.7 -32.6)
LCHlch(72.7 36.6 297.1)
OKLCHoklch(0.771 0.095 288.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green67.1%
Blue93.3%

CMYK percentages

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

Color previews

#b2abee text on a black background

contrast 9.95:1

Card sample

#b2abee text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2abee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2abee in the Color Lab