Skip to content

#fc9dfd

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

RGB
252, 157, 253
HSL
299°, 96%, 80%
CMYK
0, 38, 0, 1
Luminance
0.5190

Every format

HEX#fc9dfd
RGBrgb(252, 157, 253)
HSLhsl(299, 96%, 80%)
CMYKcmyk(0%, 38%, 0%, 1%)
LABlab(77.2 49.6 -33.2)
LCHlch(77.2 59.6 326.2)
OKLCHoklch(0.824 0.164 326.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc9dfd on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#fc9dfd on black: 11.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green61.6%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#fc9dfd text on a black background

contrast 11.38:1

Card sample

#fc9dfd text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc9dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc9dfd in the Color Lab