#8c50df
a balanced, vivid violet · warm · closest name: slateblue
RGB
140, 80, 223
HSL
265°, 69%, 59%
CMYK
37, 64, 0, 13
Luminance
0.1664
Every format
| HEX | #8c50df |
| RGB | rgb(140, 80, 223) |
| HSL | hsl(265, 69%, 59%) |
| CMYK | cmyk(37%, 64%, 0%, 13%) |
| LAB | lab(47.8 53.7 -63.9) |
| LCH | lch(47.8 83.5 310.0) |
| OKLCH | oklch(0.573 0.208 299.0) |
Copy-ready code
/* CSS */
color: #8c50df;
background-color: #8c50df;
/* Tailwind (arbitrary) */
class="text-[#8c50df] bg-[#8c50df]"
/* SCSS */
$brand: #8c50df;
/* SwiftUI */
Color(red: 0.549, green: 0.314, blue: 0.875)
/* Android */
Color.parseColor("#8c50df")Accessibility — WCAG contrast
Aa
#8c50df on white: 4.85:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#8c50df on black: 4.33:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green31.4%
Blue87.5%
CMYK percentages
Cyan37.2%
Magenta64.1%
Yellow0.0%
Key (black)12.5%
Color previews
#8c50df text on a black background
contrast 4.33:1
Card sample
#8c50df text on a white background
contrast 4.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c50df;
Background color
Panel with #8c50df background
background-color: #8c50df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c50df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 80, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 80, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c50df; background: linear-gradient(135deg, #8c50df, #DF50D3);