Skip to content

#da4dfb

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

RGB
218, 77, 251
HSL
289°, 96%, 64%
CMYK
13, 69, 0, 2
Luminance
0.2718

Every format

HEX#da4dfb
RGBrgb(218, 77, 251)
HSLhsl(289, 96%, 64%)
CMYKcmyk(13%, 69%, 0%, 2%)
LABlab(59.1 77.0 -60.8)
LCHlch(59.1 98.1 321.7)
OKLCHoklch(0.681 0.262 319.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da4dfb on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#da4dfb on black: 6.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green30.2%
Blue98.4%

CMYK percentages

Cyan13.1%
Magenta69.3%
Yellow0.0%
Key (black)1.6%

Color previews

#da4dfb text on a black background

contrast 6.44:1

Card sample

#da4dfb text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da4dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #da4dfb in the Color Lab