#c07cfb
a light, electric violet · warm · closest name: violet
RGB
192, 124, 251
HSL
272°, 94%, 74%
CMYK
24, 51, 0, 2
Luminance
0.3259
Every format
| HEX | #c07cfb |
| RGB | rgb(192, 124, 251) |
| HSL | hsl(272, 94%, 74%) |
| CMYK | cmyk(24%, 51%, 0%, 2%) |
| LAB | lab(63.8 49.5 -53.5) |
| LCH | lch(63.8 72.9 312.8) |
| OKLCH | oklch(0.709 0.188 307.0) |
Copy-ready code
/* CSS */
color: #c07cfb;
background-color: #c07cfb;
/* Tailwind (arbitrary) */
class="text-[#c07cfb] bg-[#c07cfb]"
/* SCSS */
$brand: #c07cfb;
/* SwiftUI */
Color(red: 0.753, green: 0.486, blue: 0.984)
/* Android */
Color.parseColor("#c07cfb")Accessibility — WCAG contrast
Aa
#c07cfb on white: 2.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c07cfb on black: 7.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green48.6%
Blue98.4%
CMYK percentages
Cyan23.5%
Magenta50.6%
Yellow0.0%
Key (black)1.6%
Color previews
#c07cfb text on a black background
contrast 7.52:1
Card sample
#c07cfb text on a white background
contrast 2.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c07cfb;
Background color
Panel with #c07cfb background
background-color: #c07cfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c07cfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 124, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 124, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c07cfb; background: linear-gradient(135deg, #c07cfb, #FB7CE1);