Skip to content

#d13dfd

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

RGB
209, 61, 253
HSL
286°, 98%, 62%
CMYK
17, 76, 0, 1
Luminance
0.2398

Every format

HEX#d13dfd
RGBrgb(209, 61, 253)
HSLhsl(286, 98%, 62%)
CMYKcmyk(17%, 76%, 0%, 1%)
LABlab(56.1 81.0 -66.9)
LCHlch(56.1 105.1 320.4)
OKLCHoklch(0.657 0.276 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d13dfd on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#d13dfd on black: 5.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green23.9%
Blue99.2%

CMYK percentages

Cyan17.4%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#d13dfd text on a black background

contrast 5.80:1

Card sample

#d13dfd text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d13dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d13dfd in the Color Lab