Skip to content

#db6dfd

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

RGB
219, 109, 253
HSL
286°, 97%, 71%
CMYK
13, 57, 0, 1
Luminance
0.3309

Every format

HEX#db6dfd
RGBrgb(219, 109, 253)
HSLhsl(286, 97%, 71%)
CMYKcmyk(13%, 57%, 0%, 1%)
LABlab(64.2 64.2 -53.8)
LCHlch(64.2 83.7 320.0)
OKLCHoklch(0.719 0.223 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db6dfd on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#db6dfd on black: 7.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green42.7%
Blue99.2%

CMYK percentages

Cyan13.4%
Magenta56.9%
Yellow0.0%
Key (black)0.8%

Color previews

#db6dfd text on a black background

contrast 7.62:1

Card sample

#db6dfd text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db6dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db6dfd in the Color Lab