Skip to content

#b2abff

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

RGB
178, 171, 255
HSL
245°, 100%, 84%
CMYK
30, 33, 0, 0
Luminance
0.4581

Every format

HEX#b2abff
RGBrgb(178, 171, 255)
HSLhsl(245, 100%, 84%)
CMYKcmyk(30%, 33%, 0%, 0%)
LABlab(73.4 20.8 -40.7)
LCHlch(73.4 45.7 297.0)
OKLCHoklch(0.779 0.119 287.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2abff on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#b2abff on black: 10.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green67.1%
Blue100.0%

CMYK percentages

Cyan30.2%
Magenta32.9%
Yellow0.0%
Key (black)0.0%

Color previews

#b2abff text on a black background

contrast 10.16:1

Card sample

#b2abff text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2abff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2abff in the Color Lab