Skip to content

#f9ebff

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

RGB
249, 235, 255
HSL
282°, 100%, 96%
CMYK
2, 8, 0, 0
Luminance
0.8678

Every format

HEX#f9ebff
RGBrgb(249, 235, 255)
HSLhsl(282, 100%, 96%)
CMYKcmyk(2%, 8%, 0%, 0%)
LABlab(94.6 8.2 -7.9)
LCHlch(94.6 11.4 316.1)
OKLCHoklch(0.957 0.030 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green92.2%
Blue100.0%

CMYK percentages

Cyan2.4%
Magenta7.8%
Yellow0.0%
Key (black)0.0%

Color previews

#f9ebff text on a black background

contrast 18.36:1

Card sample

#f9ebff text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9ebff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9ebff in the Color Lab