#c511eb
a balanced, electric violet · warm · closest name: magenta
RGB
197, 17, 235
HSL
290°, 87%, 49%
CMYK
16, 93, 0, 8
Luminance
0.1827
Every format
| HEX | #c511eb |
| RGB | rgb(197, 17, 235) |
| HSL | hsl(290, 87%, 49%) |
| CMYK | cmyk(16%, 93%, 0%, 8%) |
| LAB | lab(49.8 85.3 -67.0) |
| LCH | lch(49.8 108.5 321.8) |
| OKLCH | oklch(0.606 0.287 318.8) |
Copy-ready code
/* CSS */
color: #c511eb;
background-color: #c511eb;
/* Tailwind (arbitrary) */
class="text-[#c511eb] bg-[#c511eb]"
/* SCSS */
$brand: #c511eb;
/* SwiftUI */
Color(red: 0.773, green: 0.067, blue: 0.922)
/* Android */
Color.parseColor("#c511eb")Accessibility — WCAG contrast
Aa
#c511eb on white: 4.51:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c511eb on black: 4.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red77.3%
Green6.7%
Blue92.2%
CMYK percentages
Cyan16.2%
Magenta92.8%
Yellow0.0%
Key (black)7.8%
Color previews
#c511eb text on a black background
contrast 4.65:1
Card sample
#c511eb text on a white background
contrast 4.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c511eb;
Background color
Panel with #c511eb background
background-color: #c511eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c511eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(197, 17, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(197, 17, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c511eb; background: linear-gradient(135deg, #c511eb, #EB1180);