Skip to content

#f9effc

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

RGB
249, 239, 252
HSL
286°, 68%, 96%
CMYK
1, 5, 0, 1
Luminance
0.8890

Every format

HEX#f9effc
RGBrgb(249, 239, 252)
HSLhsl(286, 68%, 96%)
CMYKcmyk(1%, 5%, 0%, 1%)
LABlab(95.5 5.6 -5.0)
LCHlch(95.5 7.6 318.1)
OKLCHoklch(0.964 0.020 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green93.7%
Blue98.8%

CMYK percentages

Cyan1.2%
Magenta5.2%
Yellow0.0%
Key (black)1.2%

Color previews

#f9effc text on a black background

contrast 18.78:1

Card sample

#f9effc text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9effc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9effc in the Color Lab