Skip to content

#d00dfd

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

RGB
208, 13, 253
HSL
289°, 98%, 52%
CMYK
18, 95, 0, 1
Luminance
0.2079

Every format

HEX#d00dfd
RGBrgb(208, 13, 253)
HSLhsl(289, 98%, 52%)
CMYKcmyk(18%, 95%, 0%, 1%)
LABlab(52.7 90.2 -72.4)
LCHlch(52.7 115.7 321.3)
OKLCHoklch(0.634 0.304 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d00dfd on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#d00dfd on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green5.1%
Blue99.2%

CMYK percentages

Cyan17.8%
Magenta94.9%
Yellow0.0%
Key (black)0.8%

Color previews

#d00dfd text on a black background

contrast 5.16:1

Card sample

#d00dfd text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d00dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d00dfd in the Color Lab