#8A3AA1#8A3AA1
#8A3AA1 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.1% C 0.171 H 318.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3AA1 |
|---|---|
| RGB | rgb(138, 58, 161) |
| HSL | hsl(287, 47%, 43%) |
| HSV | hsv(287, 64%, 63%) |
| CMYK | cmyk(14.3%, 64%, 0%, 36.9%) |
| CIE-LAB | lab(39.59, 49.79, -40.99) |
| CIE-LCH | lch(39.59, 64.49, 320.54°) |
| OKLab | oklab(50.06% 0.1273 -0.1147) |
| OKLCH | oklch(50.06% 0.171 318) |
| XYZ | xyz(18.4264, 11.0034, 34.8645) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.76
Warm Purple
#952E8F
ΔE00 4.94
Medium Purple
#9E43A2
ΔE00 5.11
Purple (survey)
#7E1E9C
ΔE00 5.69
Ugly Purple
#A442A0
ΔE00 6.39
Barney
#AC1DB8
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3AA1 #51A13A
analogous
#563AA1 #8A3AA1 #A13A84
triadic
#8A3AA1 #A18A3A #3AA18A
tetradic
#8A3AA1 #A1563A #51A13A #3A84A1
square
#8A3AA1 #A1563A #51A13A #3A84A1
split-complementary
#8A3AA1 #84A13A #3AA156
monochromatic
#3D1A47 #632A74 #8A3AA1 #AA56C2 #C183D2
Accessibility & contrast
On white
6.56
#8A3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#8A3AA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3AA1
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3AA1 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#3E609E
Tritanopia (blue-blind)
#894C68
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a3aa1; /* rgb */ color: rgb(138, 58, 161); /* oklch */ color: oklch(50.1% 0.171 318.0);
Tailwind
colors: {
custom: {
50: '#af76bd',
500: '#8a3aa1',
950: '#000000',
},
}SCSS
$custom: #8a3aa1; $custom-light: #af76bd; $custom-dark: #000000;
JSON
{
"hex": "#8a3aa1",
"rgb": {
"r": 138,
"g": 58,
"b": 161
},
"hsl": {
"h": 286.602,
"s": 47.032,
"l": 42.941
},
"oklch": {
"l": 0.50063,
"c": 0.17129,
"h": 318
},
"luminance": 0.11003
}Semantic roles & 50–950 ramp
primary
#8A3AA1
secondary
#89BC7B
accent
#D7516F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81