Skip to content

#b39fd4

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

RGB
179, 159, 212
HSL
263°, 38%, 73%
CMYK
16, 25, 0, 17
Luminance
0.3913

Every format

HEX#b39fd4
RGBrgb(179, 159, 212)
HSLhsl(263, 38%, 73%)
CMYKcmyk(16%, 25%, 0%, 17%)
LABlab(68.8 17.7 -24.3)
LCHlch(68.8 30.1 306.1)
OKLCHoklch(0.738 0.078 301.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b39fd4 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#b39fd4 on black: 8.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green62.4%
Blue83.1%

CMYK percentages

Cyan15.6%
Magenta25.0%
Yellow0.0%
Key (black)16.9%

Color previews

#b39fd4 text on a black background

contrast 8.83:1

Card sample

#b39fd4 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b39fd4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b39fd4 in the Color Lab