#8A3BA5#8A3BA5
#8A3BA5 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.4% C 0.174 H 316.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BA5 |
|---|---|
| RGB | rgb(138, 59, 165) |
| HSL | hsl(285, 47%, 44%) |
| HSV | hsv(285, 64%, 65%) |
| CMYK | cmyk(16.4%, 64.2%, 0%, 35.3%) |
| CIE-LAB | lab(40.00, 50.15, -42.73) |
| CIE-LCH | lch(40.00, 65.88, 319.57°) |
| OKLab | oklab(50.44% 0.126 -0.1198) |
| OKLCH | oklch(50.44% 0.174 316.5) |
| XYZ | xyz(18.8357, 11.2485, 36.7690) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.33
Medium Purple
#9E43A2
ΔE00 5.27
Warm Purple
#952E8F
ΔE00 5.62
Purple (survey)
#7E1E9C
ΔE00 5.87
Darkorchid
#9932CC
ΔE00 6.16
Barney
#AC1DB8
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BA5 #56A53B
analogous
#553BA5 #8A3BA5 #A53B8B
triadic
#8A3BA5 #A58A3B #3BA58A
tetradic
#8A3BA5 #A5553B #56A53B #3B8BA5
square
#8A3BA5 #A5553B #56A53B #3B8BA5
split-complementary
#8A3BA5 #8BA53B #3BA555
monochromatic
#3F1B4B #642B78 #8A3BA5 #A959C4 #C086D4
Accessibility & contrast
On white
6.46
#8A3BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#8A3BA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BA5
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BA5 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#3C61A2
Tritanopia (blue-blind)
#894E6B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8a3ba5; /* rgb */ color: rgb(138, 59, 165); /* oklch */ color: oklch(50.4% 0.174 316.5);
Tailwind
colors: {
custom: {
50: '#af76c0',
500: '#8a3ba5',
950: '#000000',
},
}SCSS
$custom: #8a3ba5; $custom-light: #af76c0; $custom-dark: #000000;
JSON
{
"hex": "#8a3ba5",
"rgb": {
"r": 138,
"g": 59,
"b": 165
},
"hsl": {
"h": 284.717,
"s": 47.321,
"l": 43.922
},
"oklch": {
"l": 0.50436,
"c": 0.17384,
"h": 316.5
},
"luminance": 0.11248
}Semantic roles & 50–950 ramp
primary
#8A3BA5
secondary
#8EBE7E
accent
#D75173
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81