#f0eefa
a pale, vivid blue · warm · closest name: lavender
RGB
240, 238, 250
HSL
250°, 55%, 96%
CMYK
4, 5, 0, 2
Luminance
0.8658
Every format
| HEX | #f0eefa |
| RGB | rgb(240, 238, 250) |
| HSL | hsl(250, 55%, 96%) |
| CMYK | cmyk(4%, 5%, 0%, 2%) |
| LAB | lab(94.6 2.8 -5.5) |
| LCH | lch(94.6 6.2 297.1) |
| OKLCH | oklch(0.954 0.016 293.7) |
Copy-ready code
/* CSS */
color: #f0eefa;
background-color: #f0eefa;
/* Tailwind (arbitrary) */
class="text-[#f0eefa] bg-[#f0eefa]"
/* SCSS */
$brand: #f0eefa;
/* SwiftUI */
Color(red: 0.941, green: 0.933, blue: 0.980)
/* Android */
Color.parseColor("#f0eefa")Accessibility — WCAG contrast
Aa
#f0eefa on white: 1.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0eefa on black: 18.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green93.3%
Blue98.0%
CMYK percentages
Cyan4.0%
Magenta4.8%
Yellow0.0%
Key (black)2.0%
Color previews
#f0eefa text on a black background
contrast 18.32:1
Card sample
#f0eefa text on a white background
contrast 1.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0eefa;
Background color
Panel with #f0eefa background
background-color: #f0eefa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0eefa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 238, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 238, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0eefa; background: linear-gradient(135deg, #f0eefa, #F8EEFA);