Skip to content

#b39fd2

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

RGB
179, 159, 210
HSL
264°, 36%, 72%
CMYK
15, 24, 0, 18
Luminance
0.3903

Every format

HEX#b39fd2
RGBrgb(179, 159, 210)
HSLhsl(264, 36%, 72%)
CMYKcmyk(15%, 24%, 0%, 18%)
LABlab(68.8 17.3 -23.3)
LCHlch(68.8 29.0 306.6)
OKLCHoklch(0.738 0.075 302.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.2%
Green62.4%
Blue82.4%

CMYK percentages

Cyan14.8%
Magenta24.3%
Yellow0.0%
Key (black)17.6%

Color previews

#b39fd2 text on a black background

contrast 8.81:1

Card sample

#b39fd2 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b39fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b39fd2 in the Color Lab