Skip to content

#f8ccfd

a pale, electric magenta / pink · warm · closest name: plum

RGB
248, 204, 253
HSL
294°, 93%, 90%
CMYK
2, 19, 0, 1
Luminance
0.7023

Every format

HEX#f8ccfd
RGBrgb(248, 204, 253)
HSLhsl(294, 93%, 90%)
CMYKcmyk(2%, 19%, 0%, 1%)
LABlab(87.1 23.7 -18.1)
LCHlch(87.1 29.9 322.6)
OKLCHoklch(0.898 0.081 322.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f8ccfd on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#f8ccfd on black: 15.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green80.0%
Blue99.2%

CMYK percentages

Cyan2.0%
Magenta19.4%
Yellow0.0%
Key (black)0.8%

Color previews

#f8ccfd text on a black background

contrast 15.05:1

Card sample

#f8ccfd text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8ccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8ccfd in the Color Lab