Skip to content

#db9cf4

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

RGB
219, 156, 244
HSL
283°, 80%, 78%
CMYK
10, 36, 0, 4
Luminance
0.4537

Every format

HEX#db9cf4
RGBrgb(219, 156, 244)
HSLhsl(283, 80%, 78%)
CMYKcmyk(10%, 36%, 0%, 4%)
LABlab(73.1 38.5 -34.9)
LCHlch(73.1 52.0 317.8)
OKLCHoklch(0.784 0.138 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db9cf4 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#db9cf4 on black: 10.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green61.2%
Blue95.7%

CMYK percentages

Cyan10.2%
Magenta36.1%
Yellow0.0%
Key (black)4.3%

Color previews

#db9cf4 text on a black background

contrast 10.07:1

Card sample

#db9cf4 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9cf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db9cf4 in the Color Lab