Skip to content

#f4d3ff

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

RGB
244, 211, 255
HSL
285°, 100%, 91%
CMYK
4, 17, 0, 0
Luminance
0.7304

Every format

HEX#f4d3ff
RGBrgb(244, 211, 255)
HSLhsl(285, 100%, 91%)
CMYKcmyk(4%, 17%, 0%, 0%)
LABlab(88.5 19.1 -17.2)
LCHlch(88.5 25.7 318.0)
OKLCHoklch(0.908 0.069 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4d3ff on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#f4d3ff on black: 15.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green82.7%
Blue100.0%

CMYK percentages

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

Color previews

#f4d3ff text on a black background

contrast 15.61:1

Card sample

#f4d3ff text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4d3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4d3ff in the Color Lab