#962A9A#962A9A
#962A9A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.191 H 326.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #962A9A |
|---|---|
| RGB | rgb(150, 42, 154) |
| HSL | hsl(298, 57%, 38%) |
| HSV | hsv(298, 73%, 60%) |
| CMYK | cmyk(2.6%, 72.7%, 0%, 39.6%) |
| CIE-LAB | lab(38.68, 57.88, -38.10) |
| CIE-LCH | lch(38.68, 69.29, 326.64°) |
| OKLab | oklab(49.65% 0.1595 -0.1058) |
| OKLCH | oklch(49.65% 0.191 326.4) |
| XYZ | xyz(19.2380, 10.4744, 31.5741) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.25
Barney Purple
#A00498
ΔE00 2.97
Darkmagenta
#8B008B
ΔE00 5.21
Medium Purple
#9E43A2
ΔE00 5.25
Barney
#AC1DB8
ΔE00 5.40
Purply
#983FB2
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962A9A #2E9A2A
analogous
#5E2A9A #962A9A #9A2A66
triadic
#962A9A #9A962A #2A9A96
tetradic
#962A9A #9A5E2A #2E9A2A #2A669A
square
#962A9A #9A5E2A #2E9A2A #2A669A
split-complementary
#962A9A #669A2A #2A9A5E
monochromatic
#38103A #671D6A #962A9A #C438C9 #D268D6
Accessibility & contrast
On white
6.79
#962A9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#962A9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #962A9A
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962A9A | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F529D
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#9A3C5F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #962a9a; /* rgb */ color: rgb(150, 42, 154); /* oklch */ color: oklch(49.7% 0.191 326.4);
Tailwind
colors: {
custom: {
50: '#b86fb8',
500: '#962a9a',
950: '#000000',
},
}SCSS
$custom: #962a9a; $custom-light: #b86fb8; $custom-dark: #000000;
JSON
{
"hex": "#962a9a",
"rgb": {
"r": 150,
"g": 42,
"b": 154
},
"hsl": {
"h": 297.857,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.49651,
"c": 0.19141,
"h": 326.4
},
"luminance": 0.10473
}Semantic roles & 50–950 ramp
primary
#962A9A
secondary
#67BC63
accent
#E0474D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80