Skip to content

#db9cf8

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

RGB
219, 156, 248
HSL
281°, 87%, 79%
CMYK
12, 37, 0, 3
Luminance
0.4561

Every format

HEX#db9cf8
RGBrgb(219, 156, 248)
HSLhsl(281, 87%, 79%)
CMYKcmyk(12%, 37%, 0%, 3%)
LABlab(73.3 39.3 -36.8)
LCHlch(73.3 53.9 316.9)
OKLCHoklch(0.786 0.143 314.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green61.2%
Blue97.3%

CMYK percentages

Cyan11.7%
Magenta37.1%
Yellow0.0%
Key (black)2.7%

Color previews

#db9cf8 text on a black background

contrast 10.12:1

Card sample

#db9cf8 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9cf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db9cf8 in the Color Lab