Skip to content

#b47df7

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

RGB
180, 125, 247
HSL
267°, 88%, 73%
CMYK
27, 49, 0, 3
Luminance
0.3109

Every format

HEX#b47df7
RGBrgb(180, 125, 247)
HSLhsl(267, 88%, 73%)
CMYKcmyk(27%, 49%, 0%, 3%)
LABlab(62.6 45.0 -53.4)
LCHlch(62.6 69.8 310.1)
OKLCHoklch(0.696 0.179 302.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b47df7 on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#b47df7 on black: 7.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green49.0%
Blue96.9%

CMYK percentages

Cyan27.1%
Magenta49.4%
Yellow0.0%
Key (black)3.1%

Color previews

#b47df7 text on a black background

contrast 7.22:1

Card sample

#b47df7 text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b47df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b47df7 in the Color Lab