Skip to content

#db4df8

a balanced, electric violet · warm · closest name: magenta

RGB
219, 77, 248
HSL
290°, 92%, 64%
CMYK
12, 69, 0, 3
Luminance
0.2715

Every format

HEX#db4df8
RGBrgb(219, 77, 248)
HSLhsl(290, 92%, 64%)
CMYKcmyk(12%, 69%, 0%, 3%)
LABlab(59.1 76.6 -59.2)
LCHlch(59.1 96.8 322.3)
OKLCHoklch(0.681 0.260 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db4df8 on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#db4df8 on black: 6.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green30.2%
Blue97.3%

CMYK percentages

Cyan11.7%
Magenta69.0%
Yellow0.0%
Key (black)2.7%

Color previews

#db4df8 text on a black background

contrast 6.43:1

Card sample

#db4df8 text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db4df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db4df8 in the Color Lab