Skip to content

#f1dcfc

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

RGB
241, 220, 252
HSL
279°, 84%, 93%
CMYK
4, 13, 0, 1
Luminance
0.7692

Every format

HEX#f1dcfc
RGBrgb(241, 220, 252)
HSLhsl(279, 84%, 93%)
CMYKcmyk(4%, 13%, 0%, 1%)
LABlab(90.3 12.9 -12.9)
LCHlch(90.3 18.2 314.9)
OKLCHoklch(0.921 0.048 314.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1dcfc on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#f1dcfc on black: 16.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green86.3%
Blue98.8%

CMYK percentages

Cyan4.4%
Magenta12.7%
Yellow0.0%
Key (black)1.2%

Color previews

#f1dcfc text on a black background

contrast 16.38:1

Card sample

#f1dcfc text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1dcfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1dcfc in the Color Lab