#cc3eee
a balanced, electric violet · warm · closest name: magenta
RGB
204, 62, 238
HSL
288°, 84%, 59%
CMYK
14, 74, 0, 7
Luminance
0.2246
Every format
| HEX | #cc3eee |
| RGB | rgb(204, 62, 238) |
| HSL | hsl(288, 84%, 59%) |
| CMYK | cmyk(14%, 74%, 0%, 7%) |
| LAB | lab(54.5 77.1 -61.1) |
| LCH | lch(54.5 98.4 321.6) |
| OKLCH | oklch(0.642 0.262 319.0) |
Copy-ready code
/* CSS */
color: #cc3eee;
background-color: #cc3eee;
/* Tailwind (arbitrary) */
class="text-[#cc3eee] bg-[#cc3eee]"
/* SCSS */
$brand: #cc3eee;
/* SwiftUI */
Color(red: 0.800, green: 0.243, blue: 0.933)
/* Android */
Color.parseColor("#cc3eee")Accessibility — WCAG contrast
Aa
#cc3eee on white: 3.82:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc3eee on black: 5.49:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green24.3%
Blue93.3%
CMYK percentages
Cyan14.3%
Magenta73.9%
Yellow0.0%
Key (black)6.7%
Color previews
#cc3eee text on a black background
contrast 5.49:1
Card sample
#cc3eee text on a white background
contrast 3.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc3eee;
Background color
Panel with #cc3eee background
background-color: #cc3eee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc3eee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 62, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 62, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc3eee; background: linear-gradient(135deg, #cc3eee, #EE3E9B);