Skip to content

#db9df5

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

RGB
219, 157, 245
HSL
282°, 82%, 79%
CMYK
11, 36, 0, 4
Luminance
0.4577

Every format

HEX#db9df5
RGBrgb(219, 157, 245)
HSLhsl(282, 82%, 79%)
CMYKcmyk(11%, 36%, 0%, 4%)
LABlab(73.4 38.2 -35.1)
LCHlch(73.4 51.8 317.4)
OKLCHoklch(0.786 0.138 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db9df5 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#db9df5 on black: 10.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green61.6%
Blue96.1%

CMYK percentages

Cyan10.6%
Magenta35.9%
Yellow0.0%
Key (black)3.9%

Color previews

#db9df5 text on a black background

contrast 10.15:1

Card sample

#db9df5 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db9df5 in the Color Lab