Skip to content

#b46dfd

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

RGB
180, 109, 253
HSL
270°, 97%, 71%
CMYK
29, 57, 0, 1
Luminance
0.2773

Every format

HEX#b46dfd
RGBrgb(180, 109, 253)
HSLhsl(270, 97%, 71%)
CMYKcmyk(29%, 57%, 0%, 1%)
LABlab(59.6 54.8 -61.4)
LCHlch(59.6 82.3 311.8)
OKLCHoklch(0.675 0.209 304.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b46dfd on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#b46dfd on black: 6.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green42.7%
Blue99.2%

CMYK percentages

Cyan28.9%
Magenta56.9%
Yellow0.0%
Key (black)0.8%

Color previews

#b46dfd text on a black background

contrast 6.55:1

Card sample

#b46dfd text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b46dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b46dfd in the Color Lab