Skip to content

#da2dfd

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

RGB
218, 45, 253
HSL
290°, 98%, 58%
CMYK
14, 82, 0, 1
Luminance
0.2387

Every format

HEX#da2dfd
RGBrgb(218, 45, 253)
HSLhsl(290, 98%, 58%)
CMYKcmyk(14%, 82%, 0%, 1%)
LABlab(56.0 86.8 -67.0)
LCHlch(56.0 109.7 322.3)
OKLCHoklch(0.659 0.292 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da2dfd on white: 3.64:1
AA ✗ fail · AA-large · AAA
Aa
#da2dfd on black: 5.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green17.6%
Blue99.2%

CMYK percentages

Cyan13.8%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#da2dfd text on a black background

contrast 5.77:1

Card sample

#da2dfd text on a white background

contrast 3.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da2dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #da2dfd in the Color Lab