#962abf
a balanced, vivid violet · warm · closest name: purple
RGB
150, 42, 191
HSL
284°, 64%, 46%
CMYK
22, 78, 0, 25
Luminance
0.1190
Every format
| HEX | #962abf |
| RGB | rgb(150, 42, 191) |
| HSL | hsl(284, 64%, 46%) |
| CMYK | cmyk(22%, 78%, 0%, 25%) |
| LAB | lab(41.1 64.8 -56.3) |
| LCH | lch(41.1 85.8 319.0) |
| OKLCH | oklch(0.521 0.223 314.4) |
Copy-ready code
/* CSS */
color: #962abf;
background-color: #962abf;
/* Tailwind (arbitrary) */
class="text-[#962abf] bg-[#962abf]"
/* SCSS */
$brand: #962abf;
/* SwiftUI */
Color(red: 0.588, green: 0.165, blue: 0.749)
/* Android */
Color.parseColor("#962abf")Accessibility — WCAG contrast
Aa
#962abf on white: 6.21:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#962abf on black: 3.38:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.8%
Green16.5%
Blue74.9%
CMYK percentages
Cyan21.5%
Magenta78.0%
Yellow0.0%
Key (black)25.1%
Color previews
#962abf text on a black background
contrast 3.38:1
Card sample
#962abf text on a white background
contrast 6.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #962abf;
Background color
Panel with #962abf background
background-color: #962abf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #962abf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(150, 42, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(150, 42, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #962abf; background: linear-gradient(135deg, #962abf, #BF2A85);