#9575f0
a light, electric violet · warm · closest name: slateblue
RGB
149, 117, 240
HSL
256°, 80%, 70%
CMYK
38, 51, 0, 6
Luminance
0.2540
Every format
| HEX | #9575f0 |
| RGB | rgb(149, 117, 240) |
| HSL | hsl(256, 80%, 70%) |
| CMYK | cmyk(38%, 51%, 0%, 6%) |
| LAB | lab(57.5 39.9 -57.9) |
| LCH | lch(57.5 70.3 304.6) |
| OKLCH | oklch(0.650 0.178 292.8) |
Copy-ready code
/* CSS */
color: #9575f0;
background-color: #9575f0;
/* Tailwind (arbitrary) */
class="text-[#9575f0] bg-[#9575f0]"
/* SCSS */
$brand: #9575f0;
/* SwiftUI */
Color(red: 0.584, green: 0.459, blue: 0.941)
/* Android */
Color.parseColor("#9575f0")Accessibility — WCAG contrast
Aa
#9575f0 on white: 3.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9575f0 on black: 6.08:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green45.9%
Blue94.1%
CMYK percentages
Cyan37.9%
Magenta51.3%
Yellow0.0%
Key (black)5.9%
Color previews
#9575f0 text on a black background
contrast 6.08:1
Card sample
#9575f0 text on a white background
contrast 3.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9575f0;
Background color
Panel with #9575f0 background
background-color: #9575f0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9575f0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 117, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 117, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9575f0; background: linear-gradient(135deg, #9575f0, #E775F0);