Skip to content

#d11dfd

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

RGB
209, 29, 253
HSL
288°, 98%, 55%
CMYK
17, 89, 0, 1
Luminance
0.2153

Every format

HEX#d11dfd
RGBrgb(209, 29, 253)
HSLhsl(288, 98%, 55%)
CMYKcmyk(17%, 89%, 0%, 1%)
LABlab(53.5 88.5 -71.1)
LCHlch(53.5 113.5 321.2)
OKLCHoklch(0.640 0.298 317.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d11dfd on white: 3.96:1
AA ✗ fail · AA-large · AAA
Aa
#d11dfd on black: 5.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green11.4%
Blue99.2%

CMYK percentages

Cyan17.4%
Magenta88.5%
Yellow0.0%
Key (black)0.8%

Color previews

#d11dfd text on a black background

contrast 5.31:1

Card sample

#d11dfd text on a white background

contrast 3.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d11dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d11dfd in the Color Lab