Skip to content

#d53dfd

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

RGB
213, 61, 253
HSL
288°, 98%, 62%
CMYK
16, 76, 0, 1
Luminance
0.2458

Every format

HEX#d53dfd
RGBrgb(213, 61, 253)
HSLhsl(288, 98%, 62%)
CMYKcmyk(16%, 76%, 0%, 1%)
LABlab(56.7 81.7 -66.0)
LCHlch(56.7 105.0 321.1)
OKLCHoklch(0.663 0.278 318.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d53dfd on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#d53dfd on black: 5.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.5%
Green23.9%
Blue99.2%

CMYK percentages

Cyan15.8%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#d53dfd text on a black background

contrast 5.92:1

Card sample

#d53dfd text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d53dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d53dfd in the Color Lab