Skip to content

#b39fd9

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

RGB
179, 159, 217
HSL
261°, 43%, 74%
CMYK
18, 27, 0, 15
Luminance
0.3939

Every format

HEX#b39fd9
RGBrgb(179, 159, 217)
HSLhsl(261, 43%, 74%)
CMYKcmyk(18%, 27%, 0%, 15%)
LABlab(69.0 18.8 -26.8)
LCHlch(69.0 32.7 305.1)
OKLCHoklch(0.740 0.085 300.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b39fd9 on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#b39fd9 on black: 8.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green62.4%
Blue85.1%

CMYK percentages

Cyan17.5%
Magenta26.7%
Yellow0.0%
Key (black)14.9%

Color previews

#b39fd9 text on a black background

contrast 8.88:1

Card sample

#b39fd9 text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b39fd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b39fd9 in the Color Lab