Skip to content

#b4abfd

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

RGB
180, 171, 253
HSL
247°, 95%, 83%
CMYK
29, 32, 0, 1
Luminance
0.4592

Every format

HEX#b4abfd
RGBrgb(180, 171, 253)
HSLhsl(247, 95%, 83%)
CMYKcmyk(29%, 32%, 0%, 1%)
LABlab(73.5 20.9 -39.5)
LCHlch(73.5 44.7 297.8)
OKLCHoklch(0.779 0.116 288.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4abfd on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#b4abfd on black: 10.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green67.1%
Blue99.2%

CMYK percentages

Cyan28.9%
Magenta32.4%
Yellow0.0%
Key (black)0.8%

Color previews

#b4abfd text on a black background

contrast 10.18:1

Card sample

#b4abfd text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4abfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4abfd in the Color Lab