Skip to content

#f1d9ff

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

RGB
241, 217, 255
HSL
278°, 100%, 93%
CMYK
6, 15, 0, 0
Luminance
0.7555

Every format

HEX#f1d9ff
RGBrgb(241, 217, 255)
HSLhsl(278, 100%, 93%)
CMYKcmyk(6%, 15%, 0%, 0%)
LABlab(89.7 15.0 -15.4)
LCHlch(89.7 21.5 314.2)
OKLCHoklch(0.916 0.057 313.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1d9ff on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#f1d9ff on black: 16.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green85.1%
Blue100.0%

CMYK percentages

Cyan5.5%
Magenta14.9%
Yellow0.0%
Key (black)0.0%

Color previews

#f1d9ff text on a black background

contrast 16.11:1

Card sample

#f1d9ff text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1d9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1d9ff in the Color Lab