#ecccff
a pale, electric violet · warm · closest name: plum
RGB
236, 204, 255
HSL
278°, 100%, 90%
CMYK
8, 20, 0, 0
Luminance
0.6824
Every format
| HEX | #ecccff |
| RGB | rgb(236, 204, 255) |
| HSL | hsl(278, 100%, 90%) |
| CMYK | cmyk(8%, 20%, 0%, 0%) |
| LAB | lab(86.1 20.3 -20.8) |
| LCH | lch(86.1 29.0 314.3) |
| OKLCH | oklch(0.888 0.077 312.8) |
Copy-ready code
/* CSS */
color: #ecccff;
background-color: #ecccff;
/* Tailwind (arbitrary) */
class="text-[#ecccff] bg-[#ecccff]"
/* SCSS */
$brand: #ecccff;
/* SwiftUI */
Color(red: 0.925, green: 0.800, blue: 1.000)
/* Android */
Color.parseColor("#ecccff")Accessibility — WCAG contrast
Aa
#ecccff on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecccff on black: 14.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.0%
Blue100.0%
CMYK percentages
Cyan7.5%
Magenta20.0%
Yellow0.0%
Key (black)0.0%
Color previews
#ecccff text on a black background
contrast 14.65:1
Card sample
#ecccff text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecccff;
Background color
Panel with #ecccff background
background-color: #ecccff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecccff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 204, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 204, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecccff; background: linear-gradient(135deg, #ecccff, #FFCCF0);