Skip to content

#b39dfd

a light, electric blue · warm · closest name: plum

RGB
179, 157, 253
HSL
254°, 96%, 80%
CMYK
29, 38, 0, 1
Luminance
0.4079

Every format

HEX#b39dfd
RGBrgb(179, 157, 253)
HSLhsl(254, 96%, 80%)
CMYKcmyk(29%, 38%, 0%, 1%)
LABlab(70.0 28.4 -44.9)
LCHlch(70.0 53.1 302.3)
OKLCHoklch(0.753 0.137 293.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b39dfd on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#b39dfd on black: 9.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green61.6%
Blue99.2%

CMYK percentages

Cyan29.2%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#b39dfd text on a black background

contrast 9.16:1

Card sample

#b39dfd text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b39dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b39dfd in the Color Lab