#cc33ff
a balanced, electric violet · warm · closest name: magenta
RGB
204, 51, 255
HSL
285°, 100%, 60%
CMYK
20, 80, 0, 0
Luminance
0.2243
Every format
| HEX | #cc33ff |
| RGB | rgb(204, 51, 255) |
| HSL | hsl(285, 100%, 60%) |
| CMYK | cmyk(20%, 80%, 0%, 0%) |
| LAB | lab(54.5 83.4 -70.7) |
| LCH | lch(54.5 109.3 319.7) |
| OKLCH | oklch(0.645 0.285 315.5) |
Copy-ready code
/* CSS */
color: #cc33ff;
background-color: #cc33ff;
/* Tailwind (arbitrary) */
class="text-[#cc33ff] bg-[#cc33ff]"
/* SCSS */
$brand: #cc33ff;
/* SwiftUI */
Color(red: 0.800, green: 0.200, blue: 1.000)
/* Android */
Color.parseColor("#cc33ff")Accessibility — WCAG contrast
Aa
#cc33ff on white: 3.83:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc33ff on black: 5.49:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green20.0%
Blue100.0%
CMYK percentages
Cyan20.0%
Magenta80.0%
Yellow0.0%
Key (black)0.0%
Color previews
#cc33ff text on a black background
contrast 5.49:1
Card sample
#cc33ff text on a white background
contrast 3.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc33ff;
Background color
Panel with #cc33ff background
background-color: #cc33ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc33ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 51, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 51, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc33ff; background: linear-gradient(135deg, #cc33ff, #FF33AA);