#cc32eb
a balanced, electric violet · warm · closest name: magenta
RGB
204, 50, 235
HSL
290°, 82%, 56%
CMYK
13, 79, 0, 8
Luminance
0.2112
Every format
| HEX | #cc32eb |
| RGB | rgb(204, 50, 235) |
| HSL | hsl(290, 82%, 56%) |
| CMYK | cmyk(13%, 79%, 0%, 8%) |
| LAB | lab(53.1 80.2 -61.7) |
| LCH | lch(53.1 101.2 322.4) |
| OKLCH | oklch(0.631 0.270 320.0) |
Copy-ready code
/* CSS */
color: #cc32eb;
background-color: #cc32eb;
/* Tailwind (arbitrary) */
class="text-[#cc32eb] bg-[#cc32eb]"
/* SCSS */
$brand: #cc32eb;
/* SwiftUI */
Color(red: 0.800, green: 0.196, blue: 0.922)
/* Android */
Color.parseColor("#cc32eb")Accessibility — WCAG contrast
Aa
#cc32eb on white: 4.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc32eb on black: 5.22:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green19.6%
Blue92.2%
CMYK percentages
Cyan13.2%
Magenta78.7%
Yellow0.0%
Key (black)7.8%
Color previews
#cc32eb text on a black background
contrast 5.22:1
Card sample
#cc32eb text on a white background
contrast 4.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc32eb;
Background color
Panel with #cc32eb background
background-color: #cc32eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc32eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 50, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 50, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc32eb; background: linear-gradient(135deg, #cc32eb, #EB328F);