Skip to content

#f4d2fe

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

RGB
244, 210, 254
HSL
286°, 96%, 91%
CMYK
4, 17, 0, 0
Luminance
0.7248

Every format

HEX#f4d2fe
RGBrgb(244, 210, 254)
HSLhsl(286, 96%, 91%)
CMYKcmyk(4%, 17%, 0%, 0%)
LABlab(88.2 19.5 -17.1)
LCHlch(88.2 25.9 318.7)
OKLCHoklch(0.906 0.069 318.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4d2fe on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#f4d2fe on black: 15.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green82.4%
Blue99.6%

CMYK percentages

Cyan3.9%
Magenta17.3%
Yellow0.0%
Key (black)0.4%

Color previews

#f4d2fe text on a black background

contrast 15.50:1

Card sample

#f4d2fe text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4d2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4d2fe in the Color Lab