Skip to content

#fa5dfd

a light, electric magenta / pink · warm · closest name: magenta

RGB
250, 93, 253
HSL
299°, 98%, 68%
CMYK
1, 63, 0, 1
Luminance
0.3524

Every format

HEX#fa5dfd
RGBrgb(250, 93, 253)
HSLhsl(299, 98%, 68%)
CMYKcmyk(1%, 63%, 0%, 1%)
LABlab(65.9 78.3 -50.8)
LCHlch(65.9 93.3 327.0)
OKLCHoklch(0.740 0.258 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fa5dfd on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#fa5dfd on black: 8.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green36.5%
Blue99.2%

CMYK percentages

Cyan1.2%
Magenta63.2%
Yellow0.0%
Key (black)0.8%

Color previews

#fa5dfd text on a black background

contrast 8.05:1

Card sample

#fa5dfd text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fa5dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fa5dfd in the Color Lab