#c47ef1
a light, electric violet · warm · closest name: violet
RGB
196, 126, 241
HSL
277°, 80%, 72%
CMYK
19, 48, 0, 6
Luminance
0.3301
Every format
| HEX | #c47ef1 |
| RGB | rgb(196, 126, 241) |
| HSL | hsl(277, 80%, 72%) |
| CMYK | cmyk(19%, 48%, 0%, 6%) |
| LAB | lab(64.2 47.3 -47.5) |
| LCH | lch(64.2 67.0 314.9) |
| OKLCH | oklch(0.711 0.175 310.8) |
Copy-ready code
/* CSS */
color: #c47ef1;
background-color: #c47ef1;
/* Tailwind (arbitrary) */
class="text-[#c47ef1] bg-[#c47ef1]"
/* SCSS */
$brand: #c47ef1;
/* SwiftUI */
Color(red: 0.769, green: 0.494, blue: 0.945)
/* Android */
Color.parseColor("#c47ef1")Accessibility — WCAG contrast
Aa
#c47ef1 on white: 2.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c47ef1 on black: 7.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green49.4%
Blue94.5%
CMYK percentages
Cyan18.7%
Magenta47.7%
Yellow0.0%
Key (black)5.5%
Color previews
#c47ef1 text on a black background
contrast 7.60:1
Card sample
#c47ef1 text on a white background
contrast 2.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c47ef1;
Background color
Panel with #c47ef1 background
background-color: #c47ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c47ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 126, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 126, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c47ef1; background: linear-gradient(135deg, #c47ef1, #F17ED1);