#cc3cff
a balanced, electric violet · warm · closest name: magenta
RGB
204, 60, 255
HSL
284°, 100%, 62%
CMYK
20, 77, 0, 0
Luminance
0.2329
Every format
| HEX | #cc3cff |
| RGB | rgb(204, 60, 255) |
| HSL | hsl(284, 100%, 62%) |
| CMYK | cmyk(20%, 77%, 0%, 0%) |
| LAB | lab(55.4 80.8 -69.2) |
| LCH | lch(55.4 106.4 319.4) |
| OKLCH | oklch(0.651 0.277 315.2) |
Copy-ready code
/* CSS */
color: #cc3cff;
background-color: #cc3cff;
/* Tailwind (arbitrary) */
class="text-[#cc3cff] bg-[#cc3cff]"
/* SCSS */
$brand: #cc3cff;
/* SwiftUI */
Color(red: 0.800, green: 0.235, blue: 1.000)
/* Android */
Color.parseColor("#cc3cff")Accessibility — WCAG contrast
Aa
#cc3cff on white: 3.71:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc3cff on black: 5.66:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green23.5%
Blue100.0%
CMYK percentages
Cyan20.0%
Magenta76.5%
Yellow0.0%
Key (black)0.0%
Color previews
#cc3cff text on a black background
contrast 5.66:1
Card sample
#cc3cff text on a white background
contrast 3.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc3cff;
Background color
Panel with #cc3cff background
background-color: #cc3cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc3cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 60, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 60, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc3cff; background: linear-gradient(135deg, #cc3cff, #FF3CB0);