#c880ff
a light, electric violet · warm · closest name: violet
RGB
200, 128, 255
HSL
274°, 100%, 75%
CMYK
22, 50, 0, 0
Luminance
0.3494
Every format
| HEX | #c880ff |
| RGB | rgb(200, 128, 255) |
| HSL | hsl(274, 100%, 75%) |
| CMYK | cmyk(22%, 50%, 0%, 0%) |
| LAB | lab(65.7 50.4 -52.7) |
| LCH | lch(65.7 72.9 313.7) |
| OKLCH | oklch(0.725 0.189 308.6) |
Copy-ready code
/* CSS */
color: #c880ff;
background-color: #c880ff;
/* Tailwind (arbitrary) */
class="text-[#c880ff] bg-[#c880ff]"
/* SCSS */
$brand: #c880ff;
/* SwiftUI */
Color(red: 0.784, green: 0.502, blue: 1.000)
/* Android */
Color.parseColor("#c880ff")Accessibility — WCAG contrast
Aa
#c880ff on white: 2.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c880ff on black: 7.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.4%
Green50.2%
Blue100.0%
CMYK percentages
Cyan21.6%
Magenta49.8%
Yellow0.0%
Key (black)0.0%
Color previews
#c880ff text on a black background
contrast 7.99:1
Card sample
#c880ff text on a white background
contrast 2.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c880ff;
Background color
Panel with #c880ff background
background-color: #c880ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c880ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(200, 128, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 128, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c880ff; background: linear-gradient(135deg, #c880ff, #FF80E1);