#8f49df
a balanced, vivid violet · warm · closest name: slateblue
RGB
143, 73, 223
HSL
268°, 70%, 58%
CMYK
36, 67, 0, 13
Luminance
0.1593
Every format
| HEX | #8f49df |
| RGB | rgb(143, 73, 223) |
| HSL | hsl(268, 70%, 58%) |
| CMYK | cmyk(36%, 67%, 0%, 13%) |
| LAB | lab(46.9 57.7 -65.4) |
| LCH | lch(46.9 87.2 311.4) |
| OKLCH | oklch(0.568 0.217 301.1) |
Copy-ready code
/* CSS */
color: #8f49df;
background-color: #8f49df;
/* Tailwind (arbitrary) */
class="text-[#8f49df] bg-[#8f49df]"
/* SCSS */
$brand: #8f49df;
/* SwiftUI */
Color(red: 0.561, green: 0.286, blue: 0.875)
/* Android */
Color.parseColor("#8f49df")Accessibility — WCAG contrast
Aa
#8f49df on white: 5.02:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#8f49df on black: 4.19:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green28.6%
Blue87.5%
CMYK percentages
Cyan35.9%
Magenta67.3%
Yellow0.0%
Key (black)12.5%
Color previews
#8f49df text on a black background
contrast 4.19:1
Card sample
#8f49df text on a white background
contrast 5.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8f49df;
Background color
Panel with #8f49df background
background-color: #8f49df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8f49df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 73, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 73, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f49df; background: linear-gradient(135deg, #8f49df, #DF49CB);