#8A3AB1#8A3AB1
#8A3AB1 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.187 H 312.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3AB1 |
|---|---|
| RGB | rgb(138, 58, 177) |
| HSL | hsl(280, 51%, 46%) |
| HSV | hsv(280, 67%, 69%) |
| CMYK | cmyk(22%, 67.2%, 0%, 30.6%) |
| CIE-LAB | lab(40.58, 53.16, -48.93) |
| CIE-LCH | lch(40.58, 72.25, 317.37°) |
| OKLab | oklab(51.1% 0.1267 -0.1379) |
| OKLCH | oklch(51.1% 0.187 312.6) |
| XYZ | xyz(19.9287, 11.6043, 42.7765) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.24
Darkorchid
#9932CC
ΔE00 4.36
Barney
#AC1DB8
ΔE00 6.10
Purple (survey)
#7E1E9C
ΔE00 6.25
Darkviolet
#9400D3
ΔE00 6.42
Royal Purple
#7851A9
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3AB1 #61B13A
analogous
#4E3AB1 #8A3AB1 #B13A9C
triadic
#8A3AB1 #B18A3A #3AB18A
tetradic
#8A3AB1 #B14E3A #61B13A #3A9CB1
square
#8A3AB1 #B14E3A #61B13A #3A9CB1
split-complementary
#8A3AB1 #9CB13A #3AB14E
monochromatic
#421C55 #662B83 #8A3AB1 #A75ECA #C08CD9
Accessibility & contrast
On white
6.32
#8A3AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8A3AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3AB1
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3AB1 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#3061AE
Tritanopia (blue-blind)
#865271
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a3ab1; /* rgb */ color: rgb(138, 58, 177); /* oklch */ color: oklch(51.1% 0.187 312.6);
Tailwind
colors: {
custom: {
50: '#b076c9',
500: '#8a3ab1',
950: '#000000',
},
}SCSS
$custom: #8a3ab1; $custom-light: #b076c9; $custom-dark: #000000;
JSON
{
"hex": "#8a3ab1",
"rgb": {
"r": 138,
"g": 58,
"b": 177
},
"hsl": {
"h": 280.336,
"s": 50.638,
"l": 46.078
},
"oklch": {
"l": 0.51098,
"c": 0.18726,
"h": 312.6
},
"luminance": 0.11604
}Semantic roles & 50–950 ramp
primary
#8A3AB1
secondary
#98C483
accent
#DA4E7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82