#962781#962781
#962781 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.176 H 336.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #962781 |
|---|---|
| RGB | rgb(150, 39, 129) |
| HSL | hsl(311, 59%, 37%) |
| HSV | hsv(311, 74%, 59%) |
| CMYK | cmyk(0%, 74%, 14%, 41.2%) |
| CIE-LAB | lab(36.97, 54.86, -25.48) |
| CIE-LCH | lch(36.97, 60.49, 335.08°) |
| OKLab | oklab(47.99% 0.1613 -0.0693) |
| OKLCH | oklch(47.99% 0.176 336.7) |
| XYZ | xyz(17.2659, 9.5216, 21.6931) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.00
Barney Purple
#A00498
ΔE00 4.91
Darkmagenta
#8B008B
ΔE00 5.96
Light Eggplant
#894585
ΔE00 6.01
Red Violet
#9E0168
ΔE00 6.23
Purple
#800080
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962781 #27963C
analogous
#732796 #962781 #96274A
triadic
#962781 #819627 #278196
tetradic
#962781 #967327 #27963C #274A96
square
#962781 #967327 #27963C #274A96
split-complementary
#962781 #4A9627 #279673
monochromatic
#350E2D #651A57 #962781 #C734AB #D661C0
Accessibility & contrast
On white
7.23
#962781 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#962781 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #962781
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962781 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962781 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4C83
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#9E2E51
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #962781; /* rgb */ color: rgb(150, 39, 129); /* oklch */ color: oklch(48.0% 0.176 336.7);
Tailwind
colors: {
custom: {
50: '#b86ca6',
500: '#962781',
950: '#000000',
},
}SCSS
$custom: #962781; $custom-light: #b86ca6; $custom-dark: #000000;
JSON
{
"hex": "#962781",
"rgb": {
"r": 150,
"g": 39,
"b": 129
},
"hsl": {
"h": 311.351,
"s": 58.73,
"l": 37.059
},
"oklch": {
"l": 0.47986,
"c": 0.17561,
"h": 336.7
},
"luminance": 0.0952
}Semantic roles & 50–950 ramp
primary
#962781
secondary
#5DBC6F
accent
#E26346
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F