#f4deff
a pale, electric violet · warm · closest name: lavender
RGB
244, 222, 255
HSL
280°, 100%, 94%
CMYK
4, 13, 0, 0
Luminance
0.7870
Every format
| HEX | #f4deff |
| RGB | rgb(244, 222, 255) |
| HSL | hsl(280, 100%, 94%) |
| CMYK | cmyk(4%, 13%, 0%, 0%) |
| LAB | lab(91.1 13.3 -13.3) |
| LCH | lch(91.1 18.8 315.2) |
| OKLCH | oklch(0.928 0.050 314.6) |
Copy-ready code
/* CSS */
color: #f4deff;
background-color: #f4deff;
/* Tailwind (arbitrary) */
class="text-[#f4deff] bg-[#f4deff]"
/* SCSS */
$brand: #f4deff;
/* SwiftUI */
Color(red: 0.957, green: 0.871, blue: 1.000)
/* Android */
Color.parseColor("#f4deff")Accessibility — WCAG contrast
Aa
#f4deff on white: 1.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f4deff on black: 16.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green87.1%
Blue100.0%
CMYK percentages
Cyan4.3%
Magenta12.9%
Yellow0.0%
Key (black)0.0%
Color previews
#f4deff text on a black background
contrast 16.74:1
Card sample
#f4deff text on a white background
contrast 1.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f4deff;
Background color
Panel with #f4deff background
background-color: #f4deff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f4deff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 222, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 222, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4deff; background: linear-gradient(135deg, #f4deff, #FFDEF4);