#962F99#962F99
#962F99 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.185 H 326.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #962F99 |
|---|---|
| RGB | rgb(150, 47, 153) |
| HSL | hsl(298, 53%, 39%) |
| HSV | hsv(298, 69%, 60%) |
| CMYK | cmyk(2%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(39.27, 55.86, -36.56) |
| CIE-LCH | lch(39.27, 66.76, 326.80°) |
| OKLab | oklab(50.06% 0.1543 -0.1013) |
| OKLCH | oklch(50.06% 0.185 326.7) |
| XYZ | xyz(19.3436, 10.8183, 31.2001) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.91
Barney Purple
#A00498
ΔE00 3.54
Medium Purple
#9E43A2
ΔE00 4.56
Ugly Purple
#A442A0
ΔE00 5.18
Purply
#983FB2
ΔE00 5.23
Barney
#AC1DB8
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962F99 #32992F
analogous
#612F99 #962F99 #992F67
triadic
#962F99 #99962F #2F9996
tetradic
#962F99 #99612F #32992F #2F6799
square
#962F99 #99612F #32992F #2F6799
split-complementary
#962F99 #67992F #2F9961
monochromatic
#3A123B #68216A #962F99 #C141C5 #D06FD3
Accessibility & contrast
On white
6.64
#962F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#962F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #962F99
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962F99 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B549C
Deuteranopia (green-blind)
#476196
Tritanopia (blue-blind)
#9A3F60
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #962f99; /* rgb */ color: rgb(150, 47, 153); /* oklch */ color: oklch(50.1% 0.185 326.7);
Tailwind
colors: {
custom: {
50: '#b871b7',
500: '#962f99',
950: '#000000',
},
}SCSS
$custom: #962f99; $custom-light: #b871b7; $custom-dark: #000000;
JSON
{
"hex": "#962f99",
"rgb": {
"r": 150,
"g": 47,
"b": 153
},
"hsl": {
"h": 298.302,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.50057,
"c": 0.18464,
"h": 326.7
},
"luminance": 0.10817
}Semantic roles & 50–950 ramp
primary
#962F99
secondary
#6CBA69
accent
#DC4B4F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80