#952781#952781
#952781 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 336.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #952781 |
|---|---|
| RGB | rgb(149, 39, 129) |
| HSL | hsl(311, 59%, 37%) |
| HSV | hsv(311, 74%, 58%) |
| CMYK | cmyk(0%, 73.8%, 13.4%, 41.6%) |
| CIE-LAB | lab(36.79, 54.61, -25.77) |
| CIE-LCH | lch(36.79, 60.38, 334.74°) |
| OKLab | oklab(47.83% 0.1603 -0.0702) |
| OKLCH | oklch(47.83% 0.175 336.4) |
| XYZ | xyz(17.0827, 9.4271, 21.6846) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.93
Barney Purple
#A00498
ΔE00 4.87
Darkmagenta
#8B008B
ΔE00 5.79
Light Eggplant
#894585
ΔE00 5.99
Red Violet
#9E0168
ΔE00 6.34
Purple
#800080
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952781 #27953B
analogous
#722795 #952781 #95274A
triadic
#952781 #819527 #278195
tetradic
#952781 #957227 #27953B #274A95
square
#952781 #957227 #27953B #274A95
split-complementary
#952781 #4A9527 #279572
monochromatic
#340E2D #641A57 #952781 #C634AB #D661C0
Accessibility & contrast
On white
7.28
#952781 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#952781 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952781
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952781 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952781 | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#4F5C7E
Tritanopia (blue-blind)
#9D2E51
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #952781; /* rgb */ color: rgb(149, 39, 129); /* oklch */ color: oklch(47.8% 0.175 336.4);
Tailwind
colors: {
custom: {
50: '#b86ca6',
500: '#952781',
950: '#000000',
},
}SCSS
$custom: #952781; $custom-light: #b86ca6; $custom-dark: #000000;
JSON
{
"hex": "#952781",
"rgb": {
"r": 149,
"g": 39,
"b": 129
},
"hsl": {
"h": 310.909,
"s": 58.511,
"l": 36.863
},
"oklch": {
"l": 0.47825,
"c": 0.175,
"h": 336.4
},
"luminance": 0.09426
}Semantic roles & 50–950 ramp
primary
#952781
secondary
#5DBB6E
accent
#E26246
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F