#c328ec
a balanced, electric violet · warm · closest name: magenta
RGB
195, 40, 236
HSL
287°, 84%, 54%
CMYK
17, 83, 0, 8
Luminance
0.1918
Every format
| HEX | #c328ec |
| RGB | rgb(195, 40, 236) |
| HSL | hsl(287, 84%, 54%) |
| CMYK | cmyk(17%, 83%, 0%, 8%) |
| LAB | lab(50.9 81.3 -65.9) |
| LCH | lch(50.9 104.7 321.0) |
| OKLCH | oklch(0.613 0.275 317.5) |
Copy-ready code
/* CSS */
color: #c328ec;
background-color: #c328ec;
/* Tailwind (arbitrary) */
class="text-[#c328ec] bg-[#c328ec]"
/* SCSS */
$brand: #c328ec;
/* SwiftUI */
Color(red: 0.765, green: 0.157, blue: 0.925)
/* Android */
Color.parseColor("#c328ec")Accessibility — WCAG contrast
Aa
#c328ec on white: 4.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#c328ec on black: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.5%
Green15.7%
Blue92.5%
CMYK percentages
Cyan17.4%
Magenta83.1%
Yellow0.0%
Key (black)7.5%
Color previews
#c328ec text on a black background
contrast 4.84:1
Card sample
#c328ec text on a white background
contrast 4.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c328ec;
Background color
Panel with #c328ec background
background-color: #c328ec;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c328ec;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(195, 40, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 40, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c328ec; background: linear-gradient(135deg, #c328ec, #EC2892);