#ec7cff
a light, electric magenta / pink · warm · closest name: violet
RGB
236, 124, 255
HSL
291°, 100%, 74%
CMYK
8, 51, 0, 0
Luminance
0.3947
Every format
| HEX | #ec7cff |
| RGB | rgb(236, 124, 255) |
| HSL | hsl(291, 100%, 74%) |
| CMYK | cmyk(8%, 51%, 0%, 0%) |
| LAB | lab(69.1 61.8 -47.1) |
| LCH | lch(69.1 77.7 322.7) |
| OKLCH | oklch(0.759 0.210 321.7) |
Copy-ready code
/* CSS */
color: #ec7cff;
background-color: #ec7cff;
/* Tailwind (arbitrary) */
class="text-[#ec7cff] bg-[#ec7cff]"
/* SCSS */
$brand: #ec7cff;
/* SwiftUI */
Color(red: 0.925, green: 0.486, blue: 1.000)
/* Android */
Color.parseColor("#ec7cff")Accessibility — WCAG contrast
Aa
#ec7cff on white: 2.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ec7cff on black: 8.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green48.6%
Blue100.0%
CMYK percentages
Cyan7.5%
Magenta51.4%
Yellow0.0%
Key (black)0.0%
Color previews
#ec7cff text on a black background
contrast 8.89:1
Card sample
#ec7cff text on a white background
contrast 2.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ec7cff;
Background color
Panel with #ec7cff background
background-color: #ec7cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ec7cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 124, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 124, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec7cff; background: linear-gradient(135deg, #ec7cff, #FF7CBB);