#ecc2fc
a pale, electric violet · warm · closest name: plum
RGB
236, 194, 252
HSL
283°, 91%, 88%
CMYK
6, 23, 0, 1
Luminance
0.6344
Every format
| HEX | #ecc2fc |
| RGB | rgb(236, 194, 252) |
| HSL | hsl(283, 91%, 88%) |
| CMYK | cmyk(6%, 23%, 0%, 1%) |
| LAB | lab(83.7 25.0 -22.9) |
| LCH | lch(83.7 33.9 317.5) |
| OKLCH | oklch(0.869 0.090 316.6) |
Copy-ready code
/* CSS */
color: #ecc2fc;
background-color: #ecc2fc;
/* Tailwind (arbitrary) */
class="text-[#ecc2fc] bg-[#ecc2fc]"
/* SCSS */
$brand: #ecc2fc;
/* SwiftUI */
Color(red: 0.925, green: 0.761, blue: 0.988)
/* Android */
Color.parseColor("#ecc2fc")Accessibility — WCAG contrast
Aa
#ecc2fc on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecc2fc on black: 13.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green76.1%
Blue98.8%
CMYK percentages
Cyan6.3%
Magenta23.0%
Yellow0.0%
Key (black)1.2%
Color previews
#ecc2fc text on a black background
contrast 13.69:1
Card sample
#ecc2fc text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecc2fc;
Background color
Panel with #ecc2fc background
background-color: #ecc2fc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecc2fc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 194, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 194, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecc2fc; background: linear-gradient(135deg, #ecc2fc, #FCC2E5);