Skip to content

#b2a3df

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

RGB
178, 163, 223
HSL
255°, 48%, 76%
CMYK
20, 27, 0, 13
Luminance
0.4099

Every format

HEX#b2a3df
RGBrgb(178, 163, 223)
HSLhsl(255, 48%, 76%)
CMYKcmyk(20%, 27%, 0%, 13%)
LABlab(70.2 17.6 -28.3)
LCHlch(70.2 33.4 301.9)
OKLCHoklch(0.750 0.086 295.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2a3df on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#b2a3df on black: 9.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green63.9%
Blue87.5%

CMYK percentages

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

Color previews

#b2a3df text on a black background

contrast 9.20:1

Card sample

#b2a3df text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2a3df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2a3df in the Color Lab