#c76cff
a light, electric violet · warm · closest name: violet
RGB
199, 108, 255
HSL
277°, 100%, 71%
CMYK
22, 58, 0, 0
Luminance
0.3009
Every format
| HEX | #c76cff |
| RGB | rgb(199, 108, 255) |
| HSL | hsl(277, 100%, 71%) |
| CMYK | cmyk(22%, 58%, 0%, 0%) |
| LAB | lab(61.7 60.2 -59.0) |
| LCH | lch(61.7 84.3 315.6) |
| OKLCH | oklch(0.696 0.218 310.5) |
Copy-ready code
/* CSS */
color: #c76cff;
background-color: #c76cff;
/* Tailwind (arbitrary) */
class="text-[#c76cff] bg-[#c76cff]"
/* SCSS */
$brand: #c76cff;
/* SwiftUI */
Color(red: 0.780, green: 0.424, blue: 1.000)
/* Android */
Color.parseColor("#c76cff")Accessibility — WCAG contrast
Aa
#c76cff on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c76cff on black: 7.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green42.4%
Blue100.0%
CMYK percentages
Cyan22.0%
Magenta57.6%
Yellow0.0%
Key (black)0.0%
Color previews
#c76cff text on a black background
contrast 7.02:1
Card sample
#c76cff text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c76cff;
Background color
Panel with #c76cff background
background-color: #c76cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c76cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 108, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 108, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c76cff; background: linear-gradient(135deg, #c76cff, #FF6CD5);