Skip to content

#b66dfd

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

RGB
182, 109, 253
HSL
270°, 97%, 71%
CMYK
28, 57, 0, 1
Luminance
0.2797

Every format

HEX#b66dfd
RGBrgb(182, 109, 253)
HSLhsl(270, 97%, 71%)
CMYKcmyk(28%, 57%, 0%, 1%)
LABlab(59.9 55.3 -61.0)
LCHlch(59.9 82.3 312.2)
OKLCHoklch(0.677 0.210 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b66dfd on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#b66dfd on black: 6.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.4%
Green42.7%
Blue99.2%

CMYK percentages

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

Color previews

#b66dfd text on a black background

contrast 6.59:1

Card sample

#b66dfd text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b66dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b66dfd in the Color Lab