Skip to content

#f9eefd

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

RGB
249, 238, 253
HSL
284°, 79%, 96%
CMYK
2, 6, 0, 1
Luminance
0.8838

Every format

HEX#f9eefd
RGBrgb(249, 238, 253)
HSLhsl(284, 79%, 96%)
CMYKcmyk(2%, 6%, 0%, 1%)
LABlab(95.3 6.3 -5.9)
LCHlch(95.3 8.6 317.0)
OKLCHoklch(0.962 0.023 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9eefd on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#f9eefd on black: 18.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green93.3%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta5.9%
Yellow0.0%
Key (black)0.8%

Color previews

#f9eefd text on a black background

contrast 18.68:1

Card sample

#f9eefd text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9eefd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9eefd in the Color Lab