Skip to content

#db9df6

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

RGB
219, 157, 246
HSL
282°, 83%, 79%
CMYK
11, 36, 0, 4
Luminance
0.4583

Every format

HEX#db9df6
RGBrgb(219, 157, 246)
HSLhsl(282, 83%, 79%)
CMYKcmyk(11%, 36%, 0%, 4%)
LABlab(73.4 38.4 -35.5)
LCHlch(73.4 52.3 317.2)
OKLCHoklch(0.786 0.139 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green61.6%
Blue96.5%

CMYK percentages

Cyan11.0%
Magenta36.2%
Yellow0.0%
Key (black)3.5%

Color previews

#db9df6 text on a black background

contrast 10.17:1

Card sample

#db9df6 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db9df6 in the Color Lab