Skip to content

#fe9dfd

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

RGB
254, 157, 253
HSL
301°, 98%, 81%
CMYK
0, 38, 0, 0
Luminance
0.5228

Every format

HEX#fe9dfd
RGBrgb(254, 157, 253)
HSLhsl(301, 98%, 81%)
CMYKcmyk(0%, 38%, 0%, 0%)
LABlab(77.5 50.1 -32.8)
LCHlch(77.5 59.9 326.8)
OKLCHoklch(0.826 0.166 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe9dfd on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#fe9dfd on black: 11.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green61.6%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta38.2%
Yellow0.4%
Key (black)0.4%

Color previews

#fe9dfd text on a black background

contrast 11.46:1

Card sample

#fe9dfd text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe9dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe9dfd in the Color Lab