#8019df
a balanced, electric violet · warm · closest name: blue
RGB
128, 25, 223
HSL
271°, 80%, 49%
CMYK
43, 89, 0, 13
Luminance
0.1061
Every format
| HEX | #8019df |
| RGB | rgb(128, 25, 223) |
| HSL | hsl(271, 80%, 49%) |
| CMYK | cmyk(43%, 89%, 0%, 13%) |
| LAB | lab(38.9 72.9 -78.5) |
| LCH | lch(38.9 107.1 312.9) |
| OKLCH | oklch(0.508 0.258 299.4) |
Copy-ready code
/* CSS */
color: #8019df;
background-color: #8019df;
/* Tailwind (arbitrary) */
class="text-[#8019df] bg-[#8019df]"
/* SCSS */
$brand: #8019df;
/* SwiftUI */
Color(red: 0.502, green: 0.098, blue: 0.875)
/* Android */
Color.parseColor("#8019df")Accessibility — WCAG contrast
Aa
#8019df on white: 6.73:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#8019df on black: 3.12:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green9.8%
Blue87.5%
CMYK percentages
Cyan42.6%
Magenta88.8%
Yellow0.0%
Key (black)12.5%
Color previews
#8019df text on a black background
contrast 3.12:1
Card sample
#8019df text on a white background
contrast 6.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8019df;
Background color
Panel with #8019df background
background-color: #8019df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8019df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 25, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 25, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8019df; background: linear-gradient(135deg, #8019df, #DF19BA);