#962ab4
a dark, vivid violet · warm · closest name: purple
RGB
150, 42, 180
HSL
287°, 62%, 44%
CMYK
17, 77, 0, 29
Luminance
0.1144
Every format
| HEX | #962ab4 |
| RGB | rgb(150, 42, 180) |
| HSL | hsl(287, 62%, 44%) |
| CMYK | cmyk(17%, 77%, 0%, 29%) |
| LAB | lab(40.3 62.6 -51.0) |
| LCH | lch(40.3 80.8 320.8) |
| OKLCH | oklch(0.513 0.213 317.6) |
Copy-ready code
/* CSS */
color: #962ab4;
background-color: #962ab4;
/* Tailwind (arbitrary) */
class="text-[#962ab4] bg-[#962ab4]"
/* SCSS */
$brand: #962ab4;
/* SwiftUI */
Color(red: 0.588, green: 0.165, blue: 0.706)
/* Android */
Color.parseColor("#962ab4")Accessibility — WCAG contrast
Aa
#962ab4 on white: 6.39:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#962ab4 on black: 3.29:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.8%
Green16.5%
Blue70.6%
CMYK percentages
Cyan16.7%
Magenta76.7%
Yellow0.0%
Key (black)29.4%
Color previews
#962ab4 text on a black background
contrast 3.29:1
Card sample
#962ab4 text on a white background
contrast 6.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #962ab4;
Background color
Panel with #962ab4 background
background-color: #962ab4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #962ab4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(150, 42, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(150, 42, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #962ab4; background: linear-gradient(135deg, #962ab4, #B42A76);