#9600cc
a dark, electric violet · warm · closest name: magenta
RGB
150, 0, 204
HSL
284°, 100%, 40%
CMYK
27, 100, 0, 20
Luminance
0.1084
Every format
| HEX | #9600cc |
| RGB | rgb(150, 0, 204) |
| HSL | hsl(284, 100%, 40%) |
| CMYK | cmyk(27%, 100%, 0%, 20%) |
| LAB | lab(39.3 75.3 -66.7) |
| LCH | lch(39.3 100.6 318.4) |
| OKLCH | oklch(0.512 0.256 312.2) |
Copy-ready code
/* CSS */
color: #9600cc;
background-color: #9600cc;
/* Tailwind (arbitrary) */
class="text-[#9600cc] bg-[#9600cc]"
/* SCSS */
$brand: #9600cc;
/* SwiftUI */
Color(red: 0.588, green: 0.000, blue: 0.800)
/* Android */
Color.parseColor("#9600cc")Accessibility — WCAG contrast
Aa
#9600cc on white: 6.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#9600cc on black: 3.17:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.8%
Green0.0%
Blue80.0%
CMYK percentages
Cyan26.5%
Magenta100.0%
Yellow0.0%
Key (black)20.0%
Color previews
#9600cc text on a black background
contrast 3.17:1
Card sample
#9600cc text on a white background
contrast 6.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9600cc;
Background color
Panel with #9600cc background
background-color: #9600cc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9600cc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(150, 0, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(150, 0, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9600cc; background: linear-gradient(135deg, #9600cc, #CC007A);