#952A7B#952A7B
#952A7B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.167 H 339.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #952A7B |
|---|---|
| RGB | rgb(149, 42, 123) |
| HSL | hsl(315, 56%, 37%) |
| HSV | hsv(315, 72%, 58%) |
| CMYK | cmyk(0%, 71.8%, 17.4%, 41.6%) |
| CIE-LAB | lab(36.89, 52.63, -21.89) |
| CIE-LCH | lch(36.89, 57.00, 337.41°) |
| OKLab | oklab(47.8% 0.1563 -0.0592) |
| OKLCH | oklch(47.8% 0.167 339.3) |
| XYZ | xyz(16.7979, 9.4771, 19.6796) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.24
Red Violet
#9E0168
ΔE00 5.34
Light Eggplant
#894585
ΔE00 5.92
Barney Purple
#A00498
ΔE00 6.29
Bruise
#7E4071
ΔE00 6.34
Darkmagenta
#8B008B
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952A7B #2A9544
analogous
#792A95 #952A7B #952A46
triadic
#952A7B #7B952A #2A7B95
tetradic
#952A7B #95792A #2A9544 #2A4695
square
#952A7B #95792A #2A9544 #2A4695
split-complementary
#952A7B #46952A #2A9579
monochromatic
#360F2C #651D54 #952A7B #C537A2 #D466B9
Accessibility & contrast
On white
7.25
#952A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#952A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952A7B
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952A7B | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#9E2E4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #952a7b; /* rgb */ color: rgb(149, 42, 123); /* oklch */ color: oklch(47.8% 0.167 339.3);
Tailwind
colors: {
custom: {
50: '#b86da1',
500: '#952a7b',
950: '#000000',
},
}SCSS
$custom: #952a7b; $custom-light: #b86da1; $custom-dark: #000000;
JSON
{
"hex": "#952a7b",
"rgb": {
"r": 149,
"g": 42,
"b": 123
},
"hsl": {
"h": 314.579,
"s": 56.021,
"l": 37.451
},
"oklch": {
"l": 0.47799,
"c": 0.16712,
"h": 339.3
},
"luminance": 0.09476
}Semantic roles & 50–950 ramp
primary
#952A7B
secondary
#61BA77
accent
#DF6D48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E