#f2daff
a pale, electric violet · warm · closest name: lavender
RGB
242, 218, 255
HSL
279°, 100%, 93%
CMYK
5, 15, 0, 0
Luminance
0.7624
Every format
| HEX | #f2daff |
| RGB | rgb(242, 218, 255) |
| HSL | hsl(279, 100%, 93%) |
| CMYK | cmyk(5%, 15%, 0%, 0%) |
| LAB | lab(90.0 14.8 -14.9) |
| LCH | lch(90.0 21.0 314.7) |
| OKLCH | oklch(0.919 0.056 313.8) |
Copy-ready code
/* CSS */
color: #f2daff;
background-color: #f2daff;
/* Tailwind (arbitrary) */
class="text-[#f2daff] bg-[#f2daff]"
/* SCSS */
$brand: #f2daff;
/* SwiftUI */
Color(red: 0.949, green: 0.855, blue: 1.000)
/* Android */
Color.parseColor("#f2daff")Accessibility — WCAG contrast
Aa
#f2daff on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2daff on black: 16.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green85.5%
Blue100.0%
CMYK percentages
Cyan5.1%
Magenta14.5%
Yellow0.0%
Key (black)0.0%
Color previews
#f2daff text on a black background
contrast 16.25:1
Card sample
#f2daff text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2daff;
Background color
Panel with #f2daff background
background-color: #f2daff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2daff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 218, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 218, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2daff; background: linear-gradient(135deg, #f2daff, #FFDAF3);