Skip to content

#dc5dfe

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

RGB
220, 93, 254
HSL
287°, 99%, 68%
CMYK
13, 63, 0, 0
Luminance
0.3020

Every format

HEX#dc5dfe
RGBrgb(220, 93, 254)
HSLhsl(287, 99%, 68%)
CMYKcmyk(13%, 63%, 0%, 0%)
LABlab(61.8 71.7 -58.2)
LCHlch(61.8 92.3 320.9)
OKLCHoklch(0.702 0.246 318.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc5dfe on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#dc5dfe on black: 7.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green36.5%
Blue99.6%

CMYK percentages

Cyan13.4%
Magenta63.4%
Yellow0.0%
Key (black)0.4%

Color previews

#dc5dfe text on a black background

contrast 7.04:1

Card sample

#dc5dfe text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 93, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 93, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dc5dfe;
background: linear-gradient(135deg, #dc5dfe, #FE5DB5);

Monochromatic scale

Palettes built from #dc5dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc5dfe in the Color Lab