Skip to content

#f4dcfd

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

RGB
244, 220, 253
HSL
284°, 89%, 93%
CMYK
4, 13, 0, 1
Luminance
0.7751

Every format

HEX#f4dcfd
RGBrgb(244, 220, 253)
HSLhsl(284, 89%, 93%)
CMYKcmyk(4%, 13%, 0%, 1%)
LABlab(90.6 14.0 -13.0)
LCHlch(90.6 19.1 317.1)
OKLCHoklch(0.924 0.051 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4dcfd on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#f4dcfd on black: 16.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green86.3%
Blue99.2%

CMYK percentages

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

Color previews

#f4dcfd text on a black background

contrast 16.50:1

Card sample

#f4dcfd text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4dcfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4dcfd in the Color Lab