Skip to content

#fcf8fd

a pale, vivid violet · warm · closest name: white

RGB
252, 248, 253
HSL
288°, 56%, 98%
CMYK
0, 2, 0, 1
Luminance
0.9492

Every format

HEX#fcf8fd
RGBrgb(252, 248, 253)
HSLhsl(288, 56%, 98%)
CMYKcmyk(0%, 2%, 0%, 1%)
LABlab(98.0 2.2 -1.9)
LCHlch(98.0 2.9 318.9)
OKLCHoklch(0.984 0.008 319.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf8fd on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fcf8fd on black: 19.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green97.3%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta2.0%
Yellow0.0%
Key (black)0.8%

Color previews

#fcf8fd text on a black background

contrast 19.98:1

Card sample

#fcf8fd text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf8fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf8fd in the Color Lab