#f2cdfc
a pale, electric violet · warm · closest name: plum
RGB
242, 205, 252
HSL
287°, 89%, 90%
CMYK
4, 19, 0, 1
Luminance
0.6957
Every format
| HEX | #f2cdfc |
| RGB | rgb(242, 205, 252) |
| HSL | hsl(287, 89%, 90%) |
| CMYK | cmyk(4%, 19%, 0%, 1%) |
| LAB | lab(86.8 21.1 -18.2) |
| LCH | lch(86.8 27.8 319.3) |
| OKLCH | oklch(0.894 0.074 319.0) |
Copy-ready code
/* CSS */
color: #f2cdfc;
background-color: #f2cdfc;
/* Tailwind (arbitrary) */
class="text-[#f2cdfc] bg-[#f2cdfc]"
/* SCSS */
$brand: #f2cdfc;
/* SwiftUI */
Color(red: 0.949, green: 0.804, blue: 0.988)
/* Android */
Color.parseColor("#f2cdfc")Accessibility — WCAG contrast
Aa
#f2cdfc on white: 1.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2cdfc on black: 14.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green80.4%
Blue98.8%
CMYK percentages
Cyan4.0%
Magenta18.7%
Yellow0.0%
Key (black)1.2%
Color previews
#f2cdfc text on a black background
contrast 14.91:1
Card sample
#f2cdfc text on a white background
contrast 1.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2cdfc;
Background color
Panel with #f2cdfc background
background-color: #f2cdfc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2cdfc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 205, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 205, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2cdfc; background: linear-gradient(135deg, #f2cdfc, #FCCDE7);