Skip to content

#f9dffc

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

RGB
249, 223, 252
HSL
294°, 83%, 93%
CMYK
1, 12, 0, 1
Luminance
0.7994

Every format

HEX#f9dffc
RGBrgb(249, 223, 252)
HSLhsl(294, 83%, 93%)
CMYKcmyk(1%, 12%, 0%, 1%)
LABlab(91.7 13.9 -10.8)
LCHlch(91.7 17.6 322.2)
OKLCHoklch(0.933 0.048 322.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9dffc on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#f9dffc on black: 16.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green87.5%
Blue98.8%

CMYK percentages

Cyan1.2%
Magenta11.5%
Yellow0.0%
Key (black)1.2%

Color previews

#f9dffc text on a black background

contrast 16.99:1

Card sample

#f9dffc text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9dffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9dffc in the Color Lab