#9518ce
a balanced, electric violet · warm · closest name: indigo
RGB
149, 24, 206
HSL
281°, 79%, 45%
CMYK
28, 88, 0, 19
Luminance
0.1150
Every format
| HEX | #9518ce |
| RGB | rgb(149, 24, 206) |
| HSL | hsl(281, 79%, 45%) |
| CMYK | cmyk(28%, 88%, 0%, 19%) |
| LAB | lab(40.4 72.3 -66.1) |
| LCH | lch(40.4 98.0 317.5) |
| OKLCH | oklch(0.520 0.248 310.9) |
Copy-ready code
/* CSS */
color: #9518ce;
background-color: #9518ce;
/* Tailwind (arbitrary) */
class="text-[#9518ce] bg-[#9518ce]"
/* SCSS */
$brand: #9518ce;
/* SwiftUI */
Color(red: 0.584, green: 0.094, blue: 0.808)
/* Android */
Color.parseColor("#9518ce")Accessibility — WCAG contrast
Aa
#9518ce on white: 6.36:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#9518ce on black: 3.30:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green9.4%
Blue80.8%
CMYK percentages
Cyan27.7%
Magenta88.3%
Yellow0.0%
Key (black)19.2%
Color previews
#9518ce text on a black background
contrast 3.30:1
Card sample
#9518ce text on a white background
contrast 6.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9518ce;
Background color
Panel with #9518ce background
background-color: #9518ce;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9518ce;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 24, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 24, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9518ce; background: linear-gradient(135deg, #9518ce, #CE188E);