#c211eb
a balanced, electric violet · warm · closest name: magenta
RGB
194, 17, 235
HSL
289°, 87%, 49%
CMYK
17, 93, 0, 8
Luminance
0.1787
Every format
| HEX | #c211eb |
| RGB | rgb(194, 17, 235) |
| HSL | hsl(289, 87%, 49%) |
| CMYK | cmyk(17%, 93%, 0%, 8%) |
| LAB | lab(49.3 84.9 -67.9) |
| LCH | lch(49.3 108.7 321.4) |
| OKLCH | oklch(0.602 0.286 317.9) |
Copy-ready code
/* CSS */
color: #c211eb;
background-color: #c211eb;
/* Tailwind (arbitrary) */
class="text-[#c211eb] bg-[#c211eb]"
/* SCSS */
$brand: #c211eb;
/* SwiftUI */
Color(red: 0.761, green: 0.067, blue: 0.922)
/* Android */
Color.parseColor("#c211eb")Accessibility — WCAG contrast
Aa
#c211eb on white: 4.59:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c211eb on black: 4.57:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green6.7%
Blue92.2%
CMYK percentages
Cyan17.4%
Magenta92.8%
Yellow0.0%
Key (black)7.8%
Color previews
#c211eb text on a black background
contrast 4.57:1
Card sample
#c211eb text on a white background
contrast 4.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c211eb;
Background color
Panel with #c211eb background
background-color: #c211eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c211eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 17, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 17, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c211eb; background: linear-gradient(135deg, #c211eb, #EB1183);