Skip to content

#db9ef1

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

RGB
219, 158, 241
HSL
284°, 75%, 78%
CMYK
9, 34, 0, 6
Luminance
0.4586

Every format

HEX#db9ef1
RGBrgb(219, 158, 241)
HSLhsl(284, 75%, 78%)
CMYKcmyk(9%, 34%, 0%, 6%)
LABlab(73.5 36.8 -32.8)
LCHlch(73.5 49.3 318.3)
OKLCHoklch(0.786 0.131 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green62.0%
Blue94.5%

CMYK percentages

Cyan9.1%
Magenta34.4%
Yellow0.0%
Key (black)5.5%

Color previews

#db9ef1 text on a black background

contrast 10.17:1

Card sample

#db9ef1 text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db9ef1 in the Color Lab