Skip to content

#f1edf7

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

RGB
241, 237, 247
HSL
264°, 39%, 95%
CMYK
2, 4, 0, 3
Luminance
0.8598

Every format

HEX#f1edf7
RGBrgb(241, 237, 247)
HSLhsl(264, 39%, 95%)
CMYKcmyk(2%, 4%, 0%, 3%)
LABlab(94.3 3.1 -4.3)
LCHlch(94.3 5.3 305.7)
OKLCHoklch(0.952 0.014 304.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1edf7 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#f1edf7 on black: 18.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green92.9%
Blue96.9%

CMYK percentages

Cyan2.4%
Magenta4.0%
Yellow0.0%
Key (black)3.1%

Color previews

#f1edf7 text on a black background

contrast 18.20:1

Card sample

#f1edf7 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1edf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1edf7 in the Color Lab