#7016df
a balanced, electric violet · warm · closest name: blue
RGB
112, 22, 223
HSL
267°, 82%, 48%
CMYK
50, 90, 0, 13
Luminance
0.0935
Every format
| HEX | #7016df |
| RGB | rgb(112, 22, 223) |
| HSL | hsl(267, 82%, 48%) |
| CMYK | cmyk(50%, 90%, 0%, 13%) |
| LAB | lab(36.6 71.9 -82.3) |
| LCH | lch(36.6 109.3 311.1) |
| OKLCH | oklch(0.488 0.258 293.6) |
Copy-ready code
/* CSS */
color: #7016df;
background-color: #7016df;
/* Tailwind (arbitrary) */
class="text-[#7016df] bg-[#7016df]"
/* SCSS */
$brand: #7016df;
/* SwiftUI */
Color(red: 0.439, green: 0.086, blue: 0.875)
/* Android */
Color.parseColor("#7016df")Accessibility — WCAG contrast
Aa
#7016df on white: 7.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#7016df on black: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.9%
Green8.6%
Blue87.5%
CMYK percentages
Cyan49.8%
Magenta90.1%
Yellow0.0%
Key (black)12.5%
Color previews
#7016df text on a black background
contrast 2.87:1
Card sample
#7016df text on a white background
contrast 7.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7016df;
Background color
Panel with #7016df background
background-color: #7016df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7016df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(112, 22, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 22, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7016df; background: linear-gradient(135deg, #7016df, #DF16C8);