#8055ff
a light, electric violet · warm · closest name: slateblue
RGB
128, 85, 255
HSL
255°, 100%, 67%
CMYK
50, 67, 0, 0
Luminance
0.1831
Every format
| HEX | #8055ff |
| RGB | rgb(128, 85, 255) |
| HSL | hsl(255, 100%, 67%) |
| CMYK | cmyk(50%, 67%, 0%, 0%) |
| LAB | lab(49.9 57.3 -78.6) |
| LCH | lch(49.9 97.2 306.1) |
| OKLCH | oklch(0.593 0.238 288.6) |
Copy-ready code
/* CSS */
color: #8055ff;
background-color: #8055ff;
/* Tailwind (arbitrary) */
class="text-[#8055ff] bg-[#8055ff]"
/* SCSS */
$brand: #8055ff;
/* SwiftUI */
Color(red: 0.502, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#8055ff")Accessibility — WCAG contrast
Aa
#8055ff on white: 4.51:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#8055ff on black: 4.66:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green33.3%
Blue100.0%
CMYK percentages
Cyan49.8%
Magenta66.7%
Yellow0.0%
Key (black)0.0%
Color previews
#8055ff text on a black background
contrast 4.66:1
Card sample
#8055ff text on a white background
contrast 4.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8055ff;
Background color
Panel with #8055ff background
background-color: #8055ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8055ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8055ff; background: linear-gradient(135deg, #8055ff, #F155FF);