Skip to content

#fe7dfd

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

RGB
254, 125, 253
HSL
301°, 99%, 74%
CMYK
0, 51, 0, 0
Luminance
0.4283

Every format

HEX#fe7dfd
RGBrgb(254, 125, 253)
HSLhsl(301, 99%, 74%)
CMYKcmyk(0%, 51%, 0%, 0%)
LABlab(71.4 65.7 -42.1)
LCHlch(71.4 78.1 327.3)
OKLCHoklch(0.781 0.216 327.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe7dfd on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#fe7dfd on black: 9.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green49.0%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta50.8%
Yellow0.4%
Key (black)0.4%

Color previews

#fe7dfd text on a black background

contrast 9.57:1

Card sample

#fe7dfd text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe7dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe7dfd in the Color Lab