Skip to content

#f9ecf9

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

RGB
249, 236, 249
HSL
300°, 52%, 95%
CMYK
0, 5, 0, 2
Luminance
0.8697

Every format

HEX#f9ecf9
RGBrgb(249, 236, 249)
HSLhsl(300, 52%, 95%)
CMYKcmyk(0%, 5%, 0%, 2%)
LABlab(94.7 6.6 -4.7)
LCHlch(94.7 8.1 324.7)
OKLCHoklch(0.957 0.022 325.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9ecf9 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#f9ecf9 on black: 18.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green92.5%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta5.2%
Yellow0.0%
Key (black)2.4%

Color previews

#f9ecf9 text on a black background

contrast 18.39:1

Card sample

#f9ecf9 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9ecf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9ecf9 in the Color Lab