#ecbcfc
a pale, electric violet · warm · closest name: plum
RGB
236, 188, 252
HSL
285°, 91%, 86%
CMYK
6, 25, 0, 1
Luminance
0.6083
Every format
| HEX | #ecbcfc |
| RGB | rgb(236, 188, 252) |
| HSL | hsl(285, 91%, 86%) |
| CMYK | cmyk(6%, 25%, 0%, 1%) |
| LAB | lab(82.3 28.2 -25.0) |
| LCH | lch(82.3 37.7 318.4) |
| OKLCH | oklch(0.858 0.101 317.6) |
Copy-ready code
/* CSS */
color: #ecbcfc;
background-color: #ecbcfc;
/* Tailwind (arbitrary) */
class="text-[#ecbcfc] bg-[#ecbcfc]"
/* SCSS */
$brand: #ecbcfc;
/* SwiftUI */
Color(red: 0.925, green: 0.737, blue: 0.988)
/* Android */
Color.parseColor("#ecbcfc")Accessibility — WCAG contrast
Aa
#ecbcfc on white: 1.60:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecbcfc on black: 13.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green73.7%
Blue98.8%
CMYK percentages
Cyan6.3%
Magenta25.4%
Yellow0.0%
Key (black)1.2%
Color previews
#ecbcfc text on a black background
contrast 13.17:1
Card sample
#ecbcfc text on a white background
contrast 1.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecbcfc;
Background color
Panel with #ecbcfc background
background-color: #ecbcfc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecbcfc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 188, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 188, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecbcfc; background: linear-gradient(135deg, #ecbcfc, #FCBCE1);