#f2efff
a pale, electric blue · warm · closest name: lavender
RGB
242, 239, 255
HSL
251°, 100%, 97%
CMYK
5, 6, 0, 0
Luminance
0.8783
Every format
| HEX | #f2efff |
| RGB | rgb(242, 239, 255) |
| HSL | hsl(251, 100%, 97%) |
| CMYK | cmyk(5%, 6%, 0%, 0%) |
| LAB | lab(95.1 3.9 -7.3) |
| LCH | lch(95.1 8.3 298.0) |
| OKLCH | oklch(0.959 0.021 294.6) |
Copy-ready code
/* CSS */
color: #f2efff;
background-color: #f2efff;
/* Tailwind (arbitrary) */
class="text-[#f2efff] bg-[#f2efff]"
/* SCSS */
$brand: #f2efff;
/* SwiftUI */
Color(red: 0.949, green: 0.937, blue: 1.000)
/* Android */
Color.parseColor("#f2efff")Accessibility — WCAG contrast
Aa
#f2efff on white: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2efff on black: 18.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green93.7%
Blue100.0%
CMYK percentages
Cyan5.1%
Magenta6.3%
Yellow0.0%
Key (black)0.0%
Color previews
#f2efff text on a black background
contrast 18.57:1
Card sample
#f2efff text on a white background
contrast 1.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2efff;
Background color
Panel with #f2efff background
background-color: #f2efff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2efff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 239, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 239, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2efff; background: linear-gradient(135deg, #f2efff, #FDEFFF);