Skip to content

#b47df8

a light, electric violet · warm · closest name: slateblue

RGB
180, 125, 248
HSL
267°, 90%, 73%
CMYK
27, 50, 0, 3
Luminance
0.3115

Every format

HEX#b47df8
RGBrgb(180, 125, 248)
HSLhsl(267, 90%, 73%)
CMYKcmyk(27%, 50%, 0%, 3%)
LABlab(62.6 45.2 -53.9)
LCHlch(62.6 70.3 310.0)
OKLCHoklch(0.697 0.180 302.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b47df8 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#b47df8 on black: 7.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green49.0%
Blue97.3%

CMYK percentages

Cyan27.4%
Magenta49.6%
Yellow0.0%
Key (black)2.7%

Color previews

#b47df8 text on a black background

contrast 7.23:1

Card sample

#b47df8 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b47df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b47df8 in the Color Lab