Skip to content

#d88dfd

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

RGB
216, 141, 253
HSL
280°, 97%, 77%
CMYK
15, 44, 0, 1
Luminance
0.4074

Every format

HEX#d88dfd
RGBrgb(216, 141, 253)
HSLhsl(280, 97%, 77%)
CMYKcmyk(15%, 44%, 0%, 1%)
LABlab(70.0 47.4 -44.7)
LCHlch(70.0 65.2 316.7)
OKLCHoklch(0.761 0.172 313.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d88dfd on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#d88dfd on black: 9.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green55.3%
Blue99.2%

CMYK percentages

Cyan14.6%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#d88dfd text on a black background

contrast 9.15:1

Card sample

#d88dfd text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d88dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d88dfd in the Color Lab