Skip to content

#f9dcf9

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

RGB
249, 220, 249
HSL
300°, 71%, 92%
CMYK
0, 12, 0, 2
Luminance
0.7817

Every format

HEX#f9dcf9
RGBrgb(249, 220, 249)
HSLhsl(300, 71%, 92%)
CMYKcmyk(0%, 12%, 0%, 2%)
LABlab(90.9 14.9 -10.4)
LCHlch(90.9 18.2 325.1)
OKLCHoklch(0.927 0.050 326.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9dcf9 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#f9dcf9 on black: 16.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green86.3%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta11.6%
Yellow0.0%
Key (black)2.4%

Color previews

#f9dcf9 text on a black background

contrast 16.63:1

Card sample

#f9dcf9 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9dcf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9dcf9 in the Color Lab