Skip to content

#f4eafb

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

RGB
244, 234, 251
HSL
275°, 68%, 95%
CMYK
3, 7, 0, 2
Luminance
0.8504

Every format

HEX#f4eafb
RGBrgb(244, 234, 251)
HSLhsl(275, 68%, 95%)
CMYKcmyk(3%, 7%, 0%, 2%)
LABlab(93.9 6.4 -7.0)
LCHlch(93.9 9.5 312.4)
OKLCHoklch(0.950 0.025 311.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4eafb on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#f4eafb on black: 18.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green91.8%
Blue98.4%

CMYK percentages

Cyan2.8%
Magenta6.8%
Yellow0.0%
Key (black)1.6%

Color previews

#f4eafb text on a black background

contrast 18.01:1

Card sample

#f4eafb text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4eafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4eafb in the Color Lab