Skip to content

#db9dfd

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

RGB
219, 157, 253
HSL
279°, 96%, 80%
CMYK
13, 38, 0, 1
Luminance
0.4627

Every format

HEX#db9dfd
RGBrgb(219, 157, 253)
HSLhsl(279, 96%, 80%)
CMYKcmyk(13%, 38%, 0%, 1%)
LABlab(73.7 39.8 -38.9)
LCHlch(73.7 55.6 315.7)
OKLCHoklch(0.789 0.147 313.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db9dfd on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#db9dfd on black: 10.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green61.6%
Blue99.2%

CMYK percentages

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

Color previews

#db9dfd text on a black background

contrast 10.25:1

Card sample

#db9dfd text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db9dfd in the Color Lab