Skip to content

#f9defd

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

RGB
249, 222, 253
HSL
292°, 89%, 93%
CMYK
2, 12, 0, 1
Luminance
0.7947

Every format

HEX#f9defd
RGBrgb(249, 222, 253)
HSLhsl(292, 89%, 93%)
CMYKcmyk(2%, 12%, 0%, 1%)
LABlab(91.5 14.6 -11.6)
LCHlch(91.5 18.7 321.5)
OKLCHoklch(0.932 0.050 321.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green87.1%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta12.3%
Yellow0.0%
Key (black)0.8%

Color previews

#f9defd text on a black background

contrast 16.89:1

Card sample

#f9defd text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9defd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9defd in the Color Lab