#960df4
a balanced, electric violet · warm · closest name: blue
RGB
150, 13, 244
HSL
276°, 91%, 50%
CMYK
39, 95, 0, 4
Luminance
0.1330
Every format
| HEX | #960df4 |
| RGB | rgb(150, 13, 244) |
| HSL | hsl(276, 91%, 50%) |
| CMYK | cmyk(39%, 95%, 0%, 4%) |
| LAB | lab(43.2 81.5 -83.2) |
| LCH | lch(43.2 116.5 314.4) |
| OKLCH | oklch(0.549 0.283 302.9) |
Copy-ready code
/* CSS */
color: #960df4;
background-color: #960df4;
/* Tailwind (arbitrary) */
class="text-[#960df4] bg-[#960df4]"
/* SCSS */
$brand: #960df4;
/* SwiftUI */
Color(red: 0.588, green: 0.051, blue: 0.957)
/* Android */
Color.parseColor("#960df4")Accessibility — WCAG contrast
Aa
#960df4 on white: 5.74:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#960df4 on black: 3.66:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.8%
Green5.1%
Blue95.7%
CMYK percentages
Cyan38.5%
Magenta94.7%
Yellow0.0%
Key (black)4.3%
Color previews
#960df4 text on a black background
contrast 3.66:1
Card sample
#960df4 text on a white background
contrast 5.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #960df4;
Background color
Panel with #960df4 background
background-color: #960df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #960df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(150, 13, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(150, 13, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #960df4; background: linear-gradient(135deg, #960df4, #F40DB8);