Skip to content

#b39ef1

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

RGB
179, 158, 241
HSL
255°, 75%, 78%
CMYK
26, 34, 0, 6
Luminance
0.4039

Every format

HEX#b39ef1
RGBrgb(179, 158, 241)
HSLhsl(255, 75%, 78%)
CMYKcmyk(26%, 34%, 0%, 6%)
LABlab(69.7 24.9 -38.8)
LCHlch(69.7 46.1 302.7)
OKLCHoklch(0.749 0.119 295.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b39ef1 on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#b39ef1 on black: 9.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green62.0%
Blue94.5%

CMYK percentages

Cyan25.7%
Magenta34.4%
Yellow0.0%
Key (black)5.5%

Color previews

#b39ef1 text on a black background

contrast 9.08:1

Card sample

#b39ef1 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b39ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b39ef1 in the Color Lab