#8D3F86#8D3F86
#8D3F86 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.6% C 0.139 H 331.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3F86 |
|---|---|
| RGB | rgb(141, 63, 134) |
| HSL | hsl(305, 38%, 40%) |
| HSV | hsv(305, 55%, 55%) |
| CMYK | cmyk(0%, 55.3%, 5%, 44.7%) |
| CIE-LAB | lab(39.48, 42.94, -24.76) |
| CIE-LCH | lch(39.48, 49.56, 330.03°) |
| OKLab | oklab(49.61% 0.122 -0.0677) |
| OKLCH | oklch(49.61% 0.139 331) |
| XYZ | xyz(17.0650, 10.9401, 23.7625) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 1.65
Warm Purple
#952E8F
ΔE00 3.90
Bruise
#7E4071
ΔE00 5.02
Medium Purple
#9E43A2
ΔE00 5.69
Ugly Purple
#A442A0
ΔE00 5.89
Purplish
#94568C
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3F86 #3F8D46
analogous
#6D3F8D #8D3F86 #8D3F5F
triadic
#8D3F86 #868D3F #3F868D
tetradic
#8D3F86 #8D6D3F #3F8D46 #3F5F8D
square
#8D3F86 #8D6D3F #3F8D46 #3F5F8D
split-complementary
#8D3F86 #5F8D3F #3F8D6D
monochromatic
#381936 #632C5E #8D3F86 #B356AB #C680C0
Accessibility & contrast
On white
6.59
#8D3F86 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#8D3F86 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D3F86
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3F86 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#536184
Tritanopia (blue-blind)
#92465C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8d3f86; /* rgb */ color: rgb(141, 63, 134); /* oklch */ color: oklch(49.6% 0.139 331.0);
Tailwind
colors: {
custom: {
50: '#b078a9',
500: '#8d3f86',
950: '#000000',
},
}SCSS
$custom: #8d3f86; $custom-light: #b078a9; $custom-dark: #000000;
JSON
{
"hex": "#8d3f86",
"rgb": {
"r": 141,
"g": 63,
"b": 134
},
"hsl": {
"h": 305.385,
"s": 38.235,
"l": 40
},
"oklch": {
"l": 0.49608,
"c": 0.13947,
"h": 331
},
"luminance": 0.10939
}Semantic roles & 50–950 ramp
primary
#8D3F86
secondary
#77B17C
accent
#CE645A
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F