Skip to content

#b15dfd

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

RGB
177, 93, 253
HSL
272°, 98%, 68%
CMYK
30, 63, 0, 1
Luminance
0.2427

Every format

HEX#b15dfd
RGBrgb(177, 93, 253)
HSLhsl(272, 98%, 68%)
CMYKcmyk(30%, 63%, 0%, 1%)
LABlab(56.4 62.1 -66.7)
LCHlch(56.4 91.1 313.0)
OKLCHoklch(0.651 0.231 304.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b15dfd on white: 3.59:1
AA ✗ fail · AA-large · AAA
Aa
#b15dfd on black: 5.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green36.5%
Blue99.2%

CMYK percentages

Cyan30.0%
Magenta63.2%
Yellow0.0%
Key (black)0.8%

Color previews

#b15dfd text on a black background

contrast 5.85:1

Card sample

#b15dfd text on a white background

contrast 3.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b15dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b15dfd in the Color Lab