Skip to content

#b08dfd

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

RGB
176, 141, 253
HSL
259°, 97%, 77%
CMYK
30, 44, 0, 1
Luminance
0.3537

Every format

HEX#b08dfd
RGBrgb(176, 141, 253)
HSLhsl(259, 97%, 77%)
CMYKcmyk(30%, 44%, 0%, 1%)
LABlab(66.0 36.5 -51.2)
LCHlch(66.0 62.9 305.5)
OKLCHoklch(0.722 0.161 296.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b08dfd on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#b08dfd on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green55.3%
Blue99.2%

CMYK percentages

Cyan30.4%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#b08dfd text on a black background

contrast 8.07:1

Card sample

#b08dfd text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b08dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b08dfd in the Color Lab