#c47cff
a light, electric violet · warm · closest name: violet
RGB
196, 124, 255
HSL
273°, 100%, 74%
CMYK
23, 51, 0, 0
Luminance
0.3337
Every format
| HEX | #c47cff |
| RGB | rgb(196, 124, 255) |
| HSL | hsl(273, 100%, 74%) |
| CMYK | cmyk(23%, 51%, 0%, 0%) |
| LAB | lab(64.5 51.4 -54.7) |
| LCH | lch(64.5 75.1 313.2) |
| OKLCH | oklch(0.715 0.194 307.6) |
Copy-ready code
/* CSS */
color: #c47cff;
background-color: #c47cff;
/* Tailwind (arbitrary) */
class="text-[#c47cff] bg-[#c47cff]"
/* SCSS */
$brand: #c47cff;
/* SwiftUI */
Color(red: 0.769, green: 0.486, blue: 1.000)
/* Android */
Color.parseColor("#c47cff")Accessibility — WCAG contrast
Aa
#c47cff on white: 2.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c47cff on black: 7.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green48.6%
Blue100.0%
CMYK percentages
Cyan23.1%
Magenta51.4%
Yellow0.0%
Key (black)0.0%
Color previews
#c47cff text on a black background
contrast 7.67:1
Card sample
#c47cff text on a white background
contrast 2.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c47cff;
Background color
Panel with #c47cff background
background-color: #c47cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c47cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 124, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 124, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c47cff; background: linear-gradient(135deg, #c47cff, #FF7CE3);