Skip to content

#f9ecfd

a pale, electric violet · warm · closest name: lavender

RGB
249, 236, 253
HSL
286°, 81%, 96%
CMYK
2, 7, 0, 1
Luminance
0.8722

Every format

HEX#f9ecfd
RGBrgb(249, 236, 253)
HSLhsl(286, 81%, 96%)
CMYKcmyk(2%, 7%, 0%, 1%)
LABlab(94.8 7.3 -6.6)
LCHlch(94.8 9.9 318.0)
OKLCHoklch(0.958 0.026 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green92.5%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta6.7%
Yellow0.0%
Key (black)0.8%

Color previews

#f9ecfd text on a black background

contrast 18.44:1

Card sample

#f9ecfd text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9ecfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9ecfd in the Color Lab