#9530df
a balanced, vivid violet · warm · closest name: indigo
RGB
149, 48, 223
HSL
275°, 73%, 53%
CMYK
33, 79, 0, 13
Luminance
0.1383
Every format
| HEX | #9530df |
| RGB | rgb(149, 48, 223) |
| HSL | hsl(275, 73%, 53%) |
| CMYK | cmyk(33%, 79%, 0%, 13%) |
| LAB | lab(44.0 69.2 -70.0) |
| LCH | lch(44.0 98.4 314.6) |
| OKLCH | oklch(0.549 0.245 305.6) |
Copy-ready code
/* CSS */
color: #9530df;
background-color: #9530df;
/* Tailwind (arbitrary) */
class="text-[#9530df] bg-[#9530df]"
/* SCSS */
$brand: #9530df;
/* SwiftUI */
Color(red: 0.584, green: 0.188, blue: 0.875)
/* Android */
Color.parseColor("#9530df")Accessibility — WCAG contrast
Aa
#9530df on white: 5.58:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#9530df on black: 3.77:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green18.8%
Blue87.5%
CMYK percentages
Cyan33.2%
Magenta78.5%
Yellow0.0%
Key (black)12.5%
Color previews
#9530df text on a black background
contrast 3.77:1
Card sample
#9530df text on a white background
contrast 5.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9530df;
Background color
Panel with #9530df background
background-color: #9530df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9530df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 48, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 48, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9530df; background: linear-gradient(135deg, #9530df, #DF30B4);