#8D5F99#8D5F99
#8D5F99 is a mid, moderate purple. Relative luminance 0.161; OKLCH L 55.6% C 0.102 H 319.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5F99 |
|---|---|
| RGB | rgb(141, 95, 153) |
| HSL | hsl(288, 23%, 49%) |
| HSV | hsv(288, 38%, 60%) |
| CMYK | cmyk(7.8%, 37.9%, 0%, 40%) |
| CIE-LAB | lab(47.17, 29.16, -24.27) |
| CIE-LCH | lch(47.17, 37.94, 320.23°) |
| OKLab | oklab(55.63% 0.077 -0.0665) |
| OKLCH | oklch(55.63% 0.102 319.2) |
| XYZ | xyz(20.8257, 16.1476, 32.1506) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Dark Lavender
#856798
ΔE00 3.74
Muted Purple
#805B87
ΔE00 4.49
Purplish
#94568C
ΔE00 4.51
Dusty Purple
#825F87
ΔE00 4.82
Purpleish
#98568D
ΔE00 4.96
Dark Lilac
#9C6DA5
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5F99 #6B995F
analogous
#705F99 #8D5F99 #995F88
triadic
#8D5F99 #998D5F #5F998D
tetradic
#8D5F99 #99705F #6B995F #5F8899
square
#8D5F99 #99705F #6B995F #5F8899
split-complementary
#8D5F99 #88995F #5F9970
monochromatic
#47304D #6A4873 #8D5F99 #A883B2 #C3A9CA
Accessibility & contrast
On white
4.97
#8D5F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8D5F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D5F99
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D5F99 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576D9B
Deuteranopia (green-blind)
#637197
Tritanopia (blue-blind)
#8E6675
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8d5f99; /* rgb */ color: rgb(141, 95, 153); /* oklch */ color: oklch(55.6% 0.102 319.2);
Tailwind
colors: {
custom: {
50: '#af8db7',
500: '#8d5f99',
950: '#000000',
},
}SCSS
$custom: #8d5f99; $custom-light: #af8db7; $custom-dark: #000000;
JSON
{
"hex": "#8d5f99",
"rgb": {
"r": 141,
"g": 95,
"b": 153
},
"hsl": {
"h": 287.586,
"s": 23.387,
"l": 48.627
},
"oklch": {
"l": 0.55626,
"c": 0.10177,
"h": 319.2
},
"luminance": 0.16147
}Semantic roles & 50–950 ramp
primary
#8D5F99
secondary
#A2B89C
accent
#C0687A
background
#FAF8FB
surface
#F5F0F6
border
#CFCBD0
text
#100C11
muted
#7F7D80