Skip to content

#b2abf4

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

RGB
178, 171, 244
HSL
246°, 77%, 81%
CMYK
27, 30, 0, 4
Luminance
0.4512

Every format

HEX#b2abf4
RGBrgb(178, 171, 244)
HSLhsl(246, 77%, 81%)
CMYKcmyk(27%, 30%, 0%, 4%)
LABlab(73.0 18.1 -35.5)
LCHlch(73.0 39.8 297.0)
OKLCHoklch(0.774 0.103 288.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2abf4 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#b2abf4 on black: 10.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green67.1%
Blue95.7%

CMYK percentages

Cyan27.0%
Magenta29.9%
Yellow0.0%
Key (black)4.3%

Color previews

#b2abf4 text on a black background

contrast 10.02:1

Card sample

#b2abf4 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2abf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2abf4 in the Color Lab