Skip to content

#b29fd2

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

RGB
178, 159, 210
HSL
262°, 36%, 72%
CMYK
15, 24, 0, 18
Luminance
0.3891

Every format

HEX#b29fd2
RGBrgb(178, 159, 210)
HSLhsl(262, 36%, 72%)
CMYKcmyk(15%, 24%, 0%, 18%)
LABlab(68.7 17.0 -23.4)
LCHlch(68.7 28.9 305.9)
OKLCHoklch(0.737 0.075 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b29fd2 on white: 2.39:1
AA ✗ fail · AA-large · AAA
Aa
#b29fd2 on black: 8.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green62.4%
Blue82.4%

CMYK percentages

Cyan15.2%
Magenta24.3%
Yellow0.0%
Key (black)17.6%

Color previews

#b29fd2 text on a black background

contrast 8.78:1

Card sample

#b29fd2 text on a white background

contrast 2.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b29fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b29fd2 in the Color Lab