Skip to content

#fe9df8

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

RGB
254, 157, 248
HSL
304°, 98%, 81%
CMYK
0, 38, 2, 0
Luminance
0.5196

Every format

HEX#fe9df8
RGBrgb(254, 157, 248)
HSLhsl(304, 98%, 81%)
CMYKcmyk(0%, 38%, 2%, 0%)
LABlab(77.3 49.3 -30.4)
LCHlch(77.3 57.9 328.3)
OKLCHoklch(0.824 0.161 329.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe9df8 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#fe9df8 on black: 11.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green61.6%
Blue97.3%

CMYK percentages

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

Color previews

#fe9df8 text on a black background

contrast 11.39:1

Card sample

#fe9df8 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe9df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe9df8 in the Color Lab