Skip to content

#b2a2db

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

RGB
178, 162, 219
HSL
257°, 44%, 75%
CMYK
19, 26, 0, 14
Luminance
0.4042

Every format

HEX#b2a2db
RGBrgb(178, 162, 219)
HSLhsl(257, 44%, 75%)
CMYKcmyk(19%, 26%, 0%, 14%)
LABlab(69.8 17.3 -26.8)
LCHlch(69.8 31.9 302.9)
OKLCHoklch(0.746 0.083 297.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2a2db on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#b2a2db on black: 9.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green63.5%
Blue85.9%

CMYK percentages

Cyan18.7%
Magenta26.0%
Yellow0.0%
Key (black)14.1%

Color previews

#b2a2db text on a black background

contrast 9.08:1

Card sample

#b2a2db text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2a2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2a2db in the Color Lab