Skip to content

#f4d8ff

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

RGB
244, 216, 255
HSL
283°, 100%, 92%
CMYK
4, 15, 0, 0
Luminance
0.7556

Every format

HEX#f4d8ff
RGBrgb(244, 216, 255)
HSLhsl(283, 100%, 92%)
CMYKcmyk(4%, 15%, 0%, 0%)
LABlab(89.7 16.5 -15.4)
LCHlch(89.7 22.6 317.0)
OKLCHoklch(0.917 0.060 316.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4d8ff on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#f4d8ff on black: 16.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green84.7%
Blue100.0%

CMYK percentages

Cyan4.3%
Magenta15.3%
Yellow0.0%
Key (black)0.0%

Color previews

#f4d8ff text on a black background

contrast 16.11:1

Card sample

#f4d8ff text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4d8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4d8ff in the Color Lab