Skip to content

#f9d2fd

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

RGB
249, 210, 253
HSL
294°, 92%, 91%
CMYK
2, 17, 0, 1
Luminance
0.7332

Every format

HEX#f9d2fd
RGBrgb(249, 210, 253)
HSLhsl(294, 92%, 91%)
CMYKcmyk(2%, 17%, 0%, 1%)
LABlab(88.6 20.9 -15.9)
LCHlch(88.6 26.3 322.8)
OKLCHoklch(0.910 0.071 323.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9d2fd on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#f9d2fd on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green82.4%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta17.0%
Yellow0.0%
Key (black)0.8%

Color previews

#f9d2fd text on a black background

contrast 15.66:1

Card sample

#f9d2fd text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9d2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9d2fd in the Color Lab