#c320fd
a balanced, electric violet · warm · closest name: magenta
RGB
195, 32, 253
HSL
284°, 98%, 56%
CMYK
23, 87, 0, 1
Luminance
0.1973
Every format
| HEX | #c320fd |
| RGB | rgb(195, 32, 253) |
| HSL | hsl(284, 98%, 56%) |
| CMYK | cmyk(23%, 87%, 0%, 1%) |
| LAB | lab(51.5 86.0 -74.4) |
| LCH | lch(51.5 113.7 319.1) |
| OKLCH | oklch(0.622 0.293 314.0) |
Copy-ready code
/* CSS */
color: #c320fd;
background-color: #c320fd;
/* Tailwind (arbitrary) */
class="text-[#c320fd] bg-[#c320fd]"
/* SCSS */
$brand: #c320fd;
/* SwiftUI */
Color(red: 0.765, green: 0.125, blue: 0.992)
/* Android */
Color.parseColor("#c320fd")Accessibility — WCAG contrast
Aa
#c320fd on white: 4.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#c320fd on black: 4.95:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.5%
Green12.5%
Blue99.2%
CMYK percentages
Cyan22.9%
Magenta87.4%
Yellow0.0%
Key (black)0.8%
Color previews
#c320fd text on a black background
contrast 4.95:1
Card sample
#c320fd text on a white background
contrast 4.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c320fd;
Background color
Panel with #c320fd background
background-color: #c320fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c320fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(195, 32, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 32, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c320fd; background: linear-gradient(135deg, #c320fd, #FD20A4);