Skip to content

#f4dafd

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

RGB
244, 218, 253
HSL
285°, 90%, 92%
CMYK
4, 14, 0, 1
Luminance
0.7647

Every format

HEX#f4dafd
RGBrgb(244, 218, 253)
HSLhsl(285, 90%, 92%)
CMYKcmyk(4%, 14%, 0%, 1%)
LABlab(90.1 15.1 -13.7)
LCHlch(90.1 20.4 317.7)
OKLCHoklch(0.920 0.054 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4dafd on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#f4dafd on black: 16.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green85.5%
Blue99.2%

CMYK percentages

Cyan3.6%
Magenta13.8%
Yellow0.0%
Key (black)0.8%

Color previews

#f4dafd text on a black background

contrast 16.29:1

Card sample

#f4dafd text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4dafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4dafd in the Color Lab