#8D417D#8D417D
#8D417D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.5% C 0.128 H 336.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8D417D |
|---|---|
| RGB | rgb(141, 65, 125) |
| HSL | hsl(313, 37%, 40%) |
| HSV | hsv(313, 54%, 55%) |
| CMYK | cmyk(0%, 53.9%, 11.3%, 44.7%) |
| CIE-LAB | lab(39.45, 40.33, -19.27) |
| CIE-LCH | lch(39.45, 44.69, 334.46°) |
| OKLab | oklab(49.46% 0.1172 -0.0521) |
| OKLCH | oklch(49.46% 0.128 336) |
| XYZ | xyz(16.5766, 10.9252, 20.6337) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.44
Bruise
#7E4071
ΔE00 3.51
Warm Purple
#952E8F
ΔE00 5.84
Purplish
#94568C
ΔE00 5.98
Purpleish
#98568D
ΔE00 6.24
Ugly Purple
#A442A0
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D417D #418D51
analogous
#77418D #8D417D #8D4157
triadic
#8D417D #7D8D41 #417D8D
tetradic
#8D417D #8D7741 #418D51 #41578D
square
#8D417D #8D7741 #418D51 #41578D
split-complementary
#8D417D #578D41 #418D77
monochromatic
#391A33 #632E58 #8D417D #B259A0 #C683B8
Accessibility & contrast
On white
6.59
#8D417D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#8D417D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D417D
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D417D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D417D | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#934459
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8d417d; /* rgb */ color: rgb(141, 65, 125); /* oklch */ color: oklch(49.5% 0.128 336.0);
Tailwind
colors: {
custom: {
50: '#b079a2',
500: '#8d417d',
950: '#000000',
},
}SCSS
$custom: #8d417d; $custom-light: #b079a2; $custom-dark: #000000;
JSON
{
"hex": "#8d417d",
"rgb": {
"r": 141,
"g": 65,
"b": 125
},
"hsl": {
"h": 312.632,
"s": 36.893,
"l": 40.392
},
"oklch": {
"l": 0.49457,
"c": 0.12829,
"h": 336
},
"luminance": 0.10924
}Semantic roles & 50–950 ramp
primary
#8D417D
secondary
#79B085
accent
#CD735B
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#11090F
muted
#807B7F