#f2dffb
a pale, electric violet · warm · closest name: lavender
RGB
242, 223, 251
HSL
281°, 78%, 93%
CMYK
4, 11, 0, 2
Luminance
0.7862
Every format
| HEX | #f2dffb |
| RGB | rgb(242, 223, 251) |
| HSL | hsl(281, 78%, 93%) |
| CMYK | cmyk(4%, 11%, 0%, 2%) |
| LAB | lab(91.1 11.4 -11.2) |
| LCH | lch(91.1 16.0 315.5) |
| OKLCH | oklch(0.927 0.043 315.1) |
Copy-ready code
/* CSS */
color: #f2dffb;
background-color: #f2dffb;
/* Tailwind (arbitrary) */
class="text-[#f2dffb] bg-[#f2dffb]"
/* SCSS */
$brand: #f2dffb;
/* SwiftUI */
Color(red: 0.949, green: 0.875, blue: 0.984)
/* Android */
Color.parseColor("#f2dffb")Accessibility — WCAG contrast
Aa
#f2dffb on white: 1.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2dffb on black: 16.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green87.5%
Blue98.4%
CMYK percentages
Cyan3.6%
Magenta11.2%
Yellow0.0%
Key (black)1.6%
Color previews
#f2dffb text on a black background
contrast 16.72:1
Card sample
#f2dffb text on a white background
contrast 1.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2dffb;
Background color
Panel with #f2dffb background
background-color: #f2dffb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2dffb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 223, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 223, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2dffb; background: linear-gradient(135deg, #f2dffb, #FBDFF1);