Skip to content

#b49ef1

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

RGB
180, 158, 241
HSL
256°, 75%, 78%
CMYK
25, 34, 0, 6
Luminance
0.4051

Every format

HEX#b49ef1
RGBrgb(180, 158, 241)
HSLhsl(256, 75%, 78%)
CMYKcmyk(25%, 34%, 0%, 6%)
LABlab(69.8 25.2 -38.7)
LCHlch(69.8 46.2 303.1)
OKLCHoklch(0.750 0.119 295.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.6%
Green62.0%
Blue94.5%

CMYK percentages

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

Color previews

#b49ef1 text on a black background

contrast 9.10:1

Card sample

#b49ef1 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b49ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b49ef1 in the Color Lab