Skip to content

#b47df3

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

RGB
180, 125, 243
HSL
268°, 83%, 72%
CMYK
26, 49, 0, 5
Luminance
0.3084

Every format

HEX#b47df3
RGBrgb(180, 125, 243)
HSLhsl(268, 83%, 72%)
CMYKcmyk(26%, 49%, 0%, 5%)
LABlab(62.4 44.0 -51.5)
LCHlch(62.4 67.8 310.5)
OKLCHoklch(0.694 0.174 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b47df3 on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#b47df3 on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green49.0%
Blue95.3%

CMYK percentages

Cyan25.9%
Magenta48.6%
Yellow0.0%
Key (black)4.7%

Color previews

#b47df3 text on a black background

contrast 7.17:1

Card sample

#b47df3 text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b47df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b47df3 in the Color Lab