#8D3CA1#8D3CA1
#8D3CA1 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.7% C 0.170 H 319.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3CA1 |
|---|---|
| RGB | rgb(141, 60, 161) |
| HSL | hsl(288, 46%, 43%) |
| HSV | hsv(288, 63%, 63%) |
| CMYK | cmyk(12.4%, 62.7%, 0%, 36.9%) |
| CIE-LAB | lab(40.36, 49.60, -39.73) |
| CIE-LCH | lch(40.36, 63.55, 321.30°) |
| OKLab | oklab(50.71% 0.1285 -0.1109) |
| OKLCH | oklch(50.71% 0.17 319.2) |
| XYZ | xyz(19.0326, 11.4685, 34.9224) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.31
Medium Purple
#9E43A2
ΔE00 4.27
Warm Purple
#952E8F
ΔE00 4.69
Ugly Purple
#A442A0
ΔE00 5.57
Barney
#AC1DB8
ΔE00 6.11
Purple (survey)
#7E1E9C
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3CA1 #50A13C
analogous
#5A3CA1 #8D3CA1 #A13C82
triadic
#8D3CA1 #A18D3C #3CA18D
tetradic
#8D3CA1 #A15A3C #50A13C #3C82A1
square
#8D3CA1 #A15A3C #50A13C #3C82A1
split-complementary
#8D3CA1 #82A13C #3CA15A
monochromatic
#3F1B48 #662B74 #8D3CA1 #AD59C1 #C386D2
Accessibility & contrast
On white
6.38
#8D3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8D3CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D3CA1
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3CA1 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#8D4D69
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8d3ca1; /* rgb */ color: rgb(141, 60, 161); /* oklch */ color: oklch(50.7% 0.170 319.2);
Tailwind
colors: {
custom: {
50: '#b177bd',
500: '#8d3ca1',
950: '#000000',
},
}SCSS
$custom: #8d3ca1; $custom-light: #b177bd; $custom-dark: #000000;
JSON
{
"hex": "#8d3ca1",
"rgb": {
"r": 141,
"g": 60,
"b": 161
},
"hsl": {
"h": 288.119,
"s": 45.701,
"l": 43.333
},
"oklch": {
"l": 0.50712,
"c": 0.16977,
"h": 319.2
},
"luminance": 0.11468
}Semantic roles & 50–950 ramp
primary
#8D3CA1
secondary
#89BC7D
accent
#D5526C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81