Skip to content

#b39fdf

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

RGB
179, 159, 223
HSL
259°, 50%, 75%
CMYK
20, 29, 0, 13
Luminance
0.3971

Every format

HEX#b39fdf
RGBrgb(179, 159, 223)
HSLhsl(259, 50%, 75%)
CMYKcmyk(20%, 29%, 0%, 13%)
LABlab(69.3 20.2 -29.7)
LCHlch(69.3 35.9 304.2)
OKLCHoklch(0.743 0.093 298.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b39fdf on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#b39fdf on black: 8.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green62.4%
Blue87.5%

CMYK percentages

Cyan19.7%
Magenta28.7%
Yellow0.0%
Key (black)12.5%

Color previews

#b39fdf text on a black background

contrast 8.94:1

Card sample

#b39fdf text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b39fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b39fdf in the Color Lab