Skip to content

#fe6dfd

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

RGB
254, 109, 253
HSL
300°, 99%, 71%
CMYK
0, 57, 0, 0
Luminance
0.3910

Every format

HEX#fe6dfd
RGBrgb(254, 109, 253)
HSLhsl(300, 99%, 71%)
CMYKcmyk(0%, 57%, 0%, 0%)
LABlab(68.8 72.8 -46.2)
LCHlch(68.8 86.2 327.6)
OKLCHoklch(0.762 0.240 327.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe6dfd on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#fe6dfd on black: 8.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green42.7%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta57.1%
Yellow0.4%
Key (black)0.4%

Color previews

#fe6dfd text on a black background

contrast 8.82:1

Card sample

#fe6dfd text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe6dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe6dfd in the Color Lab