Skip to content

#f4eafd

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

RGB
244, 234, 253
HSL
272°, 83%, 96%
CMYK
4, 8, 0, 1
Luminance
0.8517

Every format

HEX#f4eafd
RGBrgb(244, 234, 253)
HSLhsl(272, 83%, 96%)
CMYKcmyk(4%, 8%, 0%, 1%)
LABlab(94.0 6.7 -8.0)
LCHlch(94.0 10.4 310.3)
OKLCHoklch(0.950 0.027 309.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4eafd on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#f4eafd on black: 18.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green91.8%
Blue99.2%

CMYK percentages

Cyan3.6%
Magenta7.5%
Yellow0.0%
Key (black)0.8%

Color previews

#f4eafd text on a black background

contrast 18.03:1

Card sample

#f4eafd text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 234, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 234, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4eafd;
background: linear-gradient(135deg, #f4eafd, #FDEAF9);

Monochromatic scale

Palettes built from #f4eafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4eafd in the Color Lab