#8A3BAA#8A3BAA
#8A3BAA is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.179 H 314.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BAA |
|---|---|
| RGB | rgb(138, 59, 170) |
| HSL | hsl(283, 48%, 45%) |
| HSV | hsv(283, 65%, 67%) |
| CMYK | cmyk(18.8%, 65.3%, 0%, 33.3%) |
| CIE-LAB | lab(40.30, 51.20, -45.22) |
| CIE-LCH | lch(40.30, 68.31, 318.55°) |
| OKLab | oklab(50.76% 0.1259 -0.1271) |
| OKLCH | oklch(50.76% 0.179 314.7) |
| XYZ | xyz(19.2997, 11.4341, 39.2128) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.08
Darkorchid
#9932CC
ΔE00 5.37
Medium Purple
#9E43A2
ΔE00 5.71
Purple (survey)
#7E1E9C
ΔE00 6.00
Barney
#AC1DB8
ΔE00 6.13
Warm Purple
#952E8F
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BAA #5BAA3B
analogous
#533BAA #8A3BAA #AA3B92
triadic
#8A3BAA #AA8A3B #3BAA8A
tetradic
#8A3BAA #AA533B #5BAA3B #3B92AA
square
#8A3BAA #AA533B #5BAA3B #3B92AA
split-complementary
#8A3BAA #92AA3B #3BAA53
monochromatic
#401B4F #652B7D #8A3BAA #A85CC6 #C089D6
Accessibility & contrast
On white
6.39
#8A3BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8A3BAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BAA
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BAA | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085AAD
Deuteranopia (green-blind)
#3861A7
Tritanopia (blue-blind)
#87506D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a3baa; /* rgb */ color: rgb(138, 59, 170); /* oklch */ color: oklch(50.8% 0.179 314.7);
Tailwind
colors: {
custom: {
50: '#af76c4',
500: '#8a3baa',
950: '#000000',
},
}SCSS
$custom: #8a3baa; $custom-light: #af76c4; $custom-dark: #000000;
JSON
{
"hex": "#8a3baa",
"rgb": {
"r": 138,
"g": 59,
"b": 170
},
"hsl": {
"h": 282.703,
"s": 48.472,
"l": 44.902
},
"oklch": {
"l": 0.50756,
"c": 0.17886,
"h": 314.7
},
"luminance": 0.11433
}Semantic roles & 50–950 ramp
primary
#8A3BAA
secondary
#93C080
accent
#D85077
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82