Skip to content

#b16dfd

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

RGB
177, 109, 253
HSL
268°, 97%, 71%
CMYK
30, 57, 0, 1
Luminance
0.2738

Every format

HEX#b16dfd
RGBrgb(177, 109, 253)
HSLhsl(268, 97%, 71%)
CMYKcmyk(30%, 57%, 0%, 1%)
LABlab(59.3 54.1 -61.9)
LCHlch(59.3 82.3 311.2)
OKLCHoklch(0.672 0.209 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b16dfd on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#b16dfd on black: 6.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green42.7%
Blue99.2%

CMYK percentages

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

Color previews

#b16dfd text on a black background

contrast 6.48:1

Card sample

#b16dfd text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b16dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b16dfd in the Color Lab