#962787#962787
#962787 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.180 H 334.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #962787 |
|---|---|
| RGB | rgb(150, 39, 135) |
| HSL | hsl(308, 59%, 37%) |
| HSV | hsv(308, 74%, 59%) |
| CMYK | cmyk(0%, 74%, 10%, 41.2%) |
| CIE-LAB | lab(37.27, 55.78, -28.72) |
| CIE-LCH | lch(37.27, 62.74, 332.76°) |
| OKLab | oklab(48.3% 0.1619 -0.0786) |
| OKLCH | oklch(48.3% 0.18 334.1) |
| XYZ | xyz(17.6765, 9.6859, 23.8556) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.84
Barney Purple
#A00498
ΔE00 3.87
Darkmagenta
#8B008B
ΔE00 5.23
Light Eggplant
#894585
ΔE00 5.99
Purple
#800080
ΔE00 6.68
Medium Purple
#9E43A2
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962787 #279636
analogous
#6E2796 #962787 #962750
triadic
#962787 #879627 #278796
tetradic
#962787 #966E27 #279636 #275096
square
#962787 #966E27 #279636 #275096
split-complementary
#962787 #509627 #27966E
monochromatic
#350E30 #651A5B #962787 #C734B3 #D661C6
Accessibility & contrast
On white
7.15
#962787 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#962787 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #962787
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962787 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962787 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#9D3154
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #962787; /* rgb */ color: rgb(150, 39, 135); /* oklch */ color: oklch(48.3% 0.180 334.1);
Tailwind
colors: {
custom: {
50: '#b86daa',
500: '#962787',
950: '#000000',
},
}SCSS
$custom: #962787; $custom-light: #b86daa; $custom-dark: #000000;
JSON
{
"hex": "#962787",
"rgb": {
"r": 150,
"g": 39,
"b": 135
},
"hsl": {
"h": 308.108,
"s": 58.73,
"l": 37.059
},
"oklch": {
"l": 0.48303,
"c": 0.17998,
"h": 334.1
},
"luminance": 0.09684
}Semantic roles & 50–950 ramp
primary
#962787
secondary
#5DBC6A
accent
#E25B46
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F