#8D2C8D#8D2C8D
#8D2C8D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.174 H 327.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2C8D |
|---|---|
| RGB | rgb(141, 44, 141) |
| HSL | hsl(300, 52%, 36%) |
| HSV | hsv(300, 69%, 55%) |
| CMYK | cmyk(0%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(36.72, 52.76, -33.38) |
| CIE-LCH | lch(36.72, 62.43, 327.68°) |
| OKLab | oklab(47.72% 0.1471 -0.0923) |
| OKLCH | oklch(47.72% 0.174 327.9) |
| XYZ | xyz(16.6927, 9.3883, 26.1271) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.75
Barney Purple
#A00498
ΔE00 4.02
Darkmagenta
#8B008B
ΔE00 4.36
Purple (survey)
#7E1E9C
ΔE00 5.84
Purple
#800080
ΔE00 5.85
Light Eggplant
#894585
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2C8D #2C8D2C
analogous
#5D2C8D #8D2C8D #8D2C5D
triadic
#8D2C8D #8D8D2C #2C8D8D
tetradic
#8D2C8D #8D5D2C #2C8D2C #2C5D8D
square
#8D2C8D #8D5D2C #2C8D2C #2C5D8D
split-complementary
#8D2C8D #5D8D2C #2C8D5D
monochromatic
#300F30 #5E1D5E #8D2C8D #BC3BBC #CF65CF
Accessibility & contrast
On white
7.30
#8D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#8D2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2C8D
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2C8D | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#913A59
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8d2c8d; /* rgb */ color: rgb(141, 44, 141); /* oklch */ color: oklch(47.7% 0.174 327.9);
Tailwind
colors: {
custom: {
50: '#b16eaf',
500: '#8d2c8d',
950: '#000000',
},
}SCSS
$custom: #8d2c8d; $custom-light: #b16eaf; $custom-dark: #000000;
JSON
{
"hex": "#8d2c8d",
"rgb": {
"r": 141,
"g": 44,
"b": 141
},
"hsl": {
"h": 300,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.47716,
"c": 0.17367,
"h": 327.9
},
"luminance": 0.09387
}Semantic roles & 50–950 ramp
primary
#8D2C8D
secondary
#60B560
accent
#DC4C4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F