Skip to content

#f9dfff

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

RGB
249, 223, 255
HSL
289°, 100%, 94%
CMYK
2, 13, 0, 0
Luminance
0.8014

Every format

HEX#f9dfff
RGBrgb(249, 223, 255)
HSLhsl(289, 100%, 94%)
CMYKcmyk(2%, 13%, 0%, 0%)
LABlab(91.8 14.4 -12.2)
LCHlch(91.8 18.9 319.7)
OKLCHoklch(0.934 0.051 319.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9dfff on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#f9dfff on black: 17.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green87.5%
Blue100.0%

CMYK percentages

Cyan2.4%
Magenta12.5%
Yellow0.0%
Key (black)0.0%

Color previews

#f9dfff text on a black background

contrast 17.03:1

Card sample

#f9dfff text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9dfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9dfff in the Color Lab