#f2f1fd
a pale, electric blue · warm · closest name: lavender
RGB
242, 241, 253
HSL
245°, 75%, 97%
CMYK
4, 5, 0, 1
Luminance
0.8888
Every format
| HEX | #f2f1fd |
| RGB | rgb(242, 241, 253) |
| HSL | hsl(245, 75%, 97%) |
| CMYK | cmyk(4%, 5%, 0%, 1%) |
| LAB | lab(95.5 2.5 -5.6) |
| LCH | lch(95.5 6.2 293.9) |
| OKLCH | oklch(0.962 0.016 289.9) |
Copy-ready code
/* CSS */
color: #f2f1fd;
background-color: #f2f1fd;
/* Tailwind (arbitrary) */
class="text-[#f2f1fd] bg-[#f2f1fd]"
/* SCSS */
$brand: #f2f1fd;
/* SwiftUI */
Color(red: 0.949, green: 0.945, blue: 0.992)
/* Android */
Color.parseColor("#f2f1fd")Accessibility — WCAG contrast
Aa
#f2f1fd on white: 1.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2f1fd on black: 18.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green94.5%
Blue99.2%
CMYK percentages
Cyan4.3%
Magenta4.7%
Yellow0.0%
Key (black)0.8%
Color previews
#f2f1fd text on a black background
contrast 18.78:1
Card sample
#f2f1fd text on a white background
contrast 1.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2f1fd;
Background color
Panel with #f2f1fd background
background-color: #f2f1fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2f1fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 241, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 241, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2f1fd; background: linear-gradient(135deg, #f2f1fd, #FAF1FD);