Skip to content

#f4ecfd

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

RGB
244, 236, 253
HSL
268°, 81%, 96%
CMYK
4, 7, 0, 1
Luminance
0.8632

Every format

HEX#f4ecfd
RGBrgb(244, 236, 253)
HSLhsl(268, 81%, 96%)
CMYKcmyk(4%, 7%, 0%, 1%)
LABlab(94.5 5.7 -7.2)
LCHlch(94.5 9.2 308.3)
OKLCHoklch(0.954 0.024 307.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.7%
Green92.5%
Blue99.2%

CMYK percentages

Cyan3.6%
Magenta6.7%
Yellow0.0%
Key (black)0.8%

Color previews

#f4ecfd text on a black background

contrast 18.26:1

Card sample

#f4ecfd text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4ecfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4ecfd in the Color Lab