#952E7F#952E7F
#952E7F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 337.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #952E7F |
|---|---|
| RGB | rgb(149, 46, 127) |
| HSL | hsl(313, 53%, 38%) |
| HSV | hsv(313, 69%, 58%) |
| CMYK | cmyk(0%, 69.1%, 14.8%, 41.6%) |
| CIE-LAB | lab(37.62, 51.70, -23.24) |
| CIE-LCH | lch(37.62, 56.68, 335.80°) |
| OKLab | oklab(48.39% 0.1523 -0.063) |
| OKLCH | oklch(48.39% 0.165 337.5) |
| XYZ | xyz(17.2025, 9.8774, 21.0751) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.47
Light Eggplant
#894585
ΔE00 5.16
Barney Purple
#A00498
ΔE00 5.94
Bruise
#7E4071
ΔE00 6.21
Red Violet
#9E0168
ΔE00 6.25
Darkmagenta
#8B008B
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952E7F #2E9544
analogous
#782E95 #952E7F #952E4B
triadic
#952E7F #7F952E #2E7F95
tetradic
#952E7F #95782E #2E9544 #2E4B95
square
#952E7F #95782E #2E9544 #2E4B95
split-complementary
#952E7F #4B952E #2E9578
monochromatic
#37112F #662057 #952E7F #C33DA6 #D26CBC
Accessibility & contrast
On white
7.06
#952E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#952E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952E7F
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952E7F | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#9D3352
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #952e7f; /* rgb */ color: rgb(149, 46, 127); /* oklch */ color: oklch(48.4% 0.165 337.5);
Tailwind
colors: {
custom: {
50: '#b76fa4',
500: '#952e7f',
950: '#000000',
},
}SCSS
$custom: #952e7f; $custom-light: #b76fa4; $custom-dark: #000000;
JSON
{
"hex": "#952e7f",
"rgb": {
"r": 149,
"g": 46,
"b": 127
},
"hsl": {
"h": 312.816,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.48394,
"c": 0.16483,
"h": 337.5
},
"luminance": 0.09876
}Semantic roles & 50–950 ramp
primary
#952E7F
secondary
#66B978
accent
#DC6A4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F