#8A3CAE#8A3CAE
#8A3CAE is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.1% C 0.182 H 313.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3CAE |
|---|---|
| RGB | rgb(138, 60, 174) |
| HSL | hsl(281, 49%, 46%) |
| HSV | hsv(281, 66%, 68%) |
| CMYK | cmyk(20.7%, 65.5%, 0%, 31.8%) |
| CIE-LAB | lab(40.72, 51.59, -46.92) |
| CIE-LCH | lch(40.72, 69.74, 317.71°) |
| OKLab | oklab(51.14% 0.1245 -0.132) |
| OKLCH | oklch(51.14% 0.182 313.3) |
| XYZ | xyz(19.7358, 11.6916, 41.2533) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.97
Darkorchid
#9932CC
ΔE00 4.81
Medium Purple
#9E43A2
ΔE00 6.02
Barney
#AC1DB8
ΔE00 6.17
Royal Purple
#7851A9
ΔE00 6.18
Purple (survey)
#7E1E9C
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3CAE #60AE3C
analogous
#513CAE #8A3CAE #AE3C99
triadic
#8A3CAE #AE8A3C #3CAE8A
tetradic
#8A3CAE #AE513C #60AE3C #3C99AE
square
#8A3CAE #AE513C #60AE3C #3C99AE
split-complementary
#8A3CAE #99AE3C #3CAE51
monochromatic
#421D53 #662C80 #8A3CAE #A75FC8 #C08DD8
Accessibility & contrast
On white
6.29
#8A3CAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#8A3CAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3CAE
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3CAE | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#865270
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a3cae; /* rgb */ color: rgb(138, 60, 174); /* oklch */ color: oklch(51.1% 0.182 313.3);
Tailwind
colors: {
custom: {
50: '#b077c7',
500: '#8a3cae',
950: '#000000',
},
}SCSS
$custom: #8a3cae; $custom-light: #b077c7; $custom-dark: #000000;
JSON
{
"hex": "#8a3cae",
"rgb": {
"r": 138,
"g": 60,
"b": 174
},
"hsl": {
"h": 281.053,
"s": 48.718,
"l": 45.882
},
"oklch": {
"l": 0.51139,
"c": 0.18151,
"h": 313.3
},
"luminance": 0.11691
}Semantic roles & 50–950 ramp
primary
#8A3CAE
secondary
#97C283
accent
#D8507B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82