Skip to content

#fc8dfd

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

RGB
252, 141, 253
HSL
300°, 97%, 77%
CMYK
0, 44, 0, 1
Luminance
0.4684

Every format

HEX#fc8dfd
RGBrgb(252, 141, 253)
HSLhsl(300, 97%, 77%)
CMYKcmyk(0%, 44%, 0%, 1%)
LABlab(74.1 57.6 -38.0)
LCHlch(74.1 69.0 326.5)
OKLCHoklch(0.800 0.191 326.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc8dfd on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#fc8dfd on black: 10.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green55.3%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#fc8dfd text on a black background

contrast 10.37:1

Card sample

#fc8dfd text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc8dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc8dfd in the Color Lab