#ecb3fe
a light, electric violet · warm · closest name: plum
RGB
236, 179, 254
HSL
286°, 97%, 85%
CMYK
7, 30, 0, 0
Luminance
0.5723
Every format
| HEX | #ecb3fe |
| RGB | rgb(236, 179, 254) |
| HSL | hsl(286, 97%, 85%) |
| CMYK | cmyk(7%, 30%, 0%, 0%) |
| LAB | lab(80.3 33.4 -29.1) |
| LCH | lch(80.3 44.3 318.9) |
| OKLCH | oklch(0.843 0.118 317.9) |
Copy-ready code
/* CSS */
color: #ecb3fe;
background-color: #ecb3fe;
/* Tailwind (arbitrary) */
class="text-[#ecb3fe] bg-[#ecb3fe]"
/* SCSS */
$brand: #ecb3fe;
/* SwiftUI */
Color(red: 0.925, green: 0.702, blue: 0.996)
/* Android */
Color.parseColor("#ecb3fe")Accessibility — WCAG contrast
Aa
#ecb3fe on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecb3fe on black: 12.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green70.2%
Blue99.6%
CMYK percentages
Cyan7.1%
Magenta29.5%
Yellow0.0%
Key (black)0.4%
Color previews
#ecb3fe text on a black background
contrast 12.45:1
Card sample
#ecb3fe text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecb3fe;
Background color
Panel with #ecb3fe background
background-color: #ecb3fe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecb3fe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 179, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 179, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecb3fe; background: linear-gradient(135deg, #ecb3fe, #FEB3DE);