Skip to content

#fd9efd

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

RGB
253, 158, 253
HSL
300°, 96%, 81%
CMYK
0, 38, 0, 1
Luminance
0.5243

Every format

HEX#fd9efd
RGBrgb(253, 158, 253)
HSLhsl(300, 96%, 81%)
CMYKcmyk(0%, 38%, 0%, 1%)
LABlab(77.5 49.4 -32.7)
LCHlch(77.5 59.2 326.5)
OKLCHoklch(0.826 0.163 326.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green62.0%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta37.5%
Yellow0.0%
Key (black)0.8%

Color previews

#fd9efd text on a black background

contrast 11.49:1

Card sample

#fd9efd text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd9efd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd9efd in the Color Lab