#c20df0
a balanced, electric violet · warm · closest name: magenta
RGB
194, 13, 240
HSL
288°, 90%, 50%
CMYK
19, 95, 0, 6
Luminance
0.1805
Every format
| HEX | #c20df0 |
| RGB | rgb(194, 13, 240) |
| HSL | hsl(288, 90%, 50%) |
| CMYK | cmyk(19%, 95%, 0%, 6%) |
| LAB | lab(49.6 86.2 -70.3) |
| LCH | lch(49.6 111.2 320.8) |
| OKLCH | oklch(0.605 0.291 316.9) |
Copy-ready code
/* CSS */
color: #c20df0;
background-color: #c20df0;
/* Tailwind (arbitrary) */
class="text-[#c20df0] bg-[#c20df0]"
/* SCSS */
$brand: #c20df0;
/* SwiftUI */
Color(red: 0.761, green: 0.051, blue: 0.941)
/* Android */
Color.parseColor("#c20df0")Accessibility — WCAG contrast
Aa
#c20df0 on white: 4.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c20df0 on black: 4.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green5.1%
Blue94.1%
CMYK percentages
Cyan19.2%
Magenta94.6%
Yellow0.0%
Key (black)5.9%
Color previews
#c20df0 text on a black background
contrast 4.61:1
Card sample
#c20df0 text on a white background
contrast 4.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c20df0;
Background color
Panel with #c20df0 background
background-color: #c20df0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c20df0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 13, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 13, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c20df0; background: linear-gradient(135deg, #c20df0, #F00D87);