Skip to content

#b2a4df

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

RGB
178, 164, 223
HSL
254°, 48%, 76%
CMYK
20, 27, 0, 13
Luminance
0.4134

Every format

HEX#b2a4df
RGBrgb(178, 164, 223)
HSLhsl(254, 48%, 76%)
CMYKcmyk(20%, 27%, 0%, 13%)
LABlab(70.4 17.1 -28.0)
LCHlch(70.4 32.8 301.4)
OKLCHoklch(0.751 0.085 295.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2a4df on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#b2a4df on black: 9.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green64.3%
Blue87.5%

CMYK percentages

Cyan20.2%
Magenta26.5%
Yellow0.0%
Key (black)12.5%

Color previews

#b2a4df text on a black background

contrast 9.27:1

Card sample

#b2a4df text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2a4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2a4df in the Color Lab