#8D409C#8D409C
#8D409C is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.9% C 0.159 H 320.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8D409C |
|---|---|
| RGB | rgb(141, 64, 156) |
| HSL | hsl(290, 42%, 43%) |
| HSV | hsv(290, 59%, 61%) |
| CMYK | cmyk(9.6%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(40.78, 46.65, -36.06) |
| CIE-LCH | lch(40.78, 58.96, 322.30°) |
| OKLab | oklab(50.93% 0.1231 -0.1003) |
| OKLCH | oklch(50.93% 0.159 320.8) |
| XYZ | xyz(18.8180, 11.7307, 32.7191) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.63
Purply
#983FB2
ΔE00 3.95
Warm Purple
#952E8F
ΔE00 4.40
Ugly Purple
#A442A0
ΔE00 4.89
Light Eggplant
#894585
ΔE00 5.26
Barney
#AC1DB8
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D409C #4F9C40
analogous
#5F409C #8D409C #9C407D
triadic
#8D409C #9C8D40 #409C8D
tetradic
#8D409C #9C5F40 #4F9C40 #407D9C
square
#8D409C #9C5F40 #4F9C40 #407D9C
split-complementary
#8D409C #7D9C40 #409C5F
monochromatic
#3F1C45 #662E71 #8D409C #AD5DBC #C388CE
Accessibility & contrast
On white
6.28
#8D409C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#8D409C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D409C
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D409C | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#49639A
Tritanopia (blue-blind)
#8E4E68
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8d409c; /* rgb */ color: rgb(141, 64, 156); /* oklch */ color: oklch(50.9% 0.159 320.8);
Tailwind
colors: {
custom: {
50: '#b179b9',
500: '#8d409c',
950: '#000000',
},
}SCSS
$custom: #8d409c; $custom-light: #b179b9; $custom-dark: #000000;
JSON
{
"hex": "#8d409c",
"rgb": {
"r": 141,
"g": 64,
"b": 156
},
"hsl": {
"h": 290.217,
"s": 41.818,
"l": 43.137
},
"oklch": {
"l": 0.50931,
"c": 0.15879,
"h": 320.8
},
"luminance": 0.1173
}Semantic roles & 50–950 ramp
primary
#8D409C
secondary
#88B97F
accent
#D2566A
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80