#c541eb
a balanced, electric violet · warm · closest name: magenta
RGB
197, 65, 235
HSL
287°, 81%, 59%
CMYK
16, 72, 0, 8
Luminance
0.2165
Every format
| HEX | #c541eb |
| RGB | rgb(197, 65, 235) |
| HSL | hsl(287, 81%, 59%) |
| CMYK | cmyk(16%, 72%, 0%, 8%) |
| LAB | lab(53.6 74.2 -60.9) |
| LCH | lch(53.6 96.0 320.6) |
| OKLCH | oklch(0.633 0.253 317.5) |
Copy-ready code
/* CSS */
color: #c541eb;
background-color: #c541eb;
/* Tailwind (arbitrary) */
class="text-[#c541eb] bg-[#c541eb]"
/* SCSS */
$brand: #c541eb;
/* SwiftUI */
Color(red: 0.773, green: 0.255, blue: 0.922)
/* Android */
Color.parseColor("#c541eb")Accessibility — WCAG contrast
Aa
#c541eb on white: 3.94:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#c541eb on black: 5.33:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red77.3%
Green25.5%
Blue92.2%
CMYK percentages
Cyan16.2%
Magenta72.3%
Yellow0.0%
Key (black)7.8%
Color previews
#c541eb text on a black background
contrast 5.33:1
Card sample
#c541eb text on a white background
contrast 3.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c541eb;
Background color
Panel with #c541eb background
background-color: #c541eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c541eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(197, 65, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(197, 65, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c541eb; background: linear-gradient(135deg, #c541eb, #EB41A0);