Skip to content

#b47df4

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

RGB
180, 125, 244
HSL
268°, 84%, 72%
CMYK
26, 49, 0, 4
Luminance
0.3090

Every format

HEX#b47df4
RGBrgb(180, 125, 244)
HSLhsl(268, 84%, 72%)
CMYKcmyk(26%, 49%, 0%, 4%)
LABlab(62.4 44.3 -52.0)
LCHlch(62.4 68.3 310.4)
OKLCHoklch(0.694 0.175 303.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b47df4 on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#b47df4 on black: 7.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green49.0%
Blue95.7%

CMYK percentages

Cyan26.2%
Magenta48.8%
Yellow0.0%
Key (black)4.3%

Color previews

#b47df4 text on a black background

contrast 7.18:1

Card sample

#b47df4 text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b47df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b47df4 in the Color Lab