#952E7D#952E7D
#952E7D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.163 H 338.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #952E7D |
|---|---|
| RGB | rgb(149, 46, 125) |
| HSL | hsl(314, 53%, 38%) |
| HSV | hsv(314, 69%, 58%) |
| CMYK | cmyk(0%, 69.1%, 16.1%, 41.6%) |
| CIE-LAB | lab(37.53, 51.39, -22.14) |
| CIE-LCH | lch(37.53, 55.96, 336.69°) |
| OKLab | oklab(48.3% 0.152 -0.0599) |
| OKLCH | oklch(48.3% 0.163 338.5) |
| XYZ | xyz(17.0734, 9.8258, 20.3954) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.93
Light Eggplant
#894585
ΔE00 5.30
Red Violet
#9E0168
ΔE00 5.91
Bruise
#7E4071
ΔE00 6.05
Barney Purple
#A00498
ΔE00 6.32
Darkmagenta
#8B008B
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952E7D #2E9546
analogous
#7A2E95 #952E7D #952E49
triadic
#952E7D #7D952E #2E7D95
tetradic
#952E7D #957A2E #2E9546 #2E4995
square
#952E7D #957A2E #2E9546 #2E4995
split-complementary
#952E7D #49952E #2E957A
monochromatic
#37112F #662056 #952E7D #C33DA4 #D26CBA
Accessibility & contrast
On white
7.08
#952E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#952E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952E7D
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952E7D | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#9D3251
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #952e7d; /* rgb */ color: rgb(149, 46, 125); /* oklch */ color: oklch(48.3% 0.163 338.5);
Tailwind
colors: {
custom: {
50: '#b76fa3',
500: '#952e7d',
950: '#000000',
},
}SCSS
$custom: #952e7d; $custom-light: #b76fa3; $custom-dark: #000000;
JSON
{
"hex": "#952e7d",
"rgb": {
"r": 149,
"g": 46,
"b": 125
},
"hsl": {
"h": 313.981,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.48295,
"c": 0.16337,
"h": 338.5
},
"luminance": 0.09824
}Semantic roles & 50–950 ramp
primary
#952E7D
secondary
#66B979
accent
#DC6D4C
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F