#8c33ff
a balanced, electric violet · warm · closest name: blue
RGB
140, 51, 255
HSL
266°, 100%, 60%
CMYK
45, 80, 0, 0
Luminance
0.1516
Every format
| HEX | #8c33ff |
| RGB | rgb(140, 51, 255) |
| HSL | hsl(266, 100%, 60%) |
| CMYK | cmyk(45%, 80%, 0%, 0%) |
| LAB | lab(45.9 74.0 -85.1) |
| LCH | lch(45.9 112.8 311.0) |
| OKLCH | oklch(0.567 0.271 296.0) |
Copy-ready code
/* CSS */
color: #8c33ff;
background-color: #8c33ff;
/* Tailwind (arbitrary) */
class="text-[#8c33ff] bg-[#8c33ff]"
/* SCSS */
$brand: #8c33ff;
/* SwiftUI */
Color(red: 0.549, green: 0.200, blue: 1.000)
/* Android */
Color.parseColor("#8c33ff")Accessibility — WCAG contrast
Aa
#8c33ff on white: 5.21:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#8c33ff on black: 4.03:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green20.0%
Blue100.0%
CMYK percentages
Cyan45.1%
Magenta80.0%
Yellow0.0%
Key (black)0.0%
Color previews
#8c33ff text on a black background
contrast 4.03:1
Card sample
#8c33ff text on a white background
contrast 5.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c33ff;
Background color
Panel with #8c33ff background
background-color: #8c33ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c33ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 51, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 51, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c33ff; background: linear-gradient(135deg, #8c33ff, #FF33EA);