Skip to content

#db8dfd

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

RGB
219, 141, 253
HSL
282°, 97%, 77%
CMYK
13, 44, 0, 1
Luminance
0.4120

Every format

HEX#db8dfd
RGBrgb(219, 141, 253)
HSLhsl(282, 97%, 77%)
CMYKcmyk(13%, 44%, 0%, 1%)
LABlab(70.3 48.3 -44.2)
LCHlch(70.3 65.4 317.5)
OKLCHoklch(0.764 0.173 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db8dfd on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#db8dfd on black: 9.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green55.3%
Blue99.2%

CMYK percentages

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

Color previews

#db8dfd text on a black background

contrast 9.24:1

Card sample

#db8dfd text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db8dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db8dfd in the Color Lab