#8A3CAD#8A3CAD
#8A3CAD is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.1% C 0.180 H 313.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3CAD |
|---|---|
| RGB | rgb(138, 60, 173) |
| HSL | hsl(281, 48%, 46%) |
| HSV | hsv(281, 65%, 68%) |
| CMYK | cmyk(20.2%, 65.3%, 0%, 32.2%) |
| CIE-LAB | lab(40.66, 51.37, -46.43) |
| CIE-LCH | lch(40.66, 69.25, 317.89°) |
| OKLab | oklab(51.07% 0.1246 -0.1306) |
| OKLCH | oklch(51.07% 0.181 313.6) |
| XYZ | xyz(19.6386, 11.6527, 40.7417) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.96
Darkorchid
#9932CC
ΔE00 4.95
Medium Purple
#9E43A2
ΔE00 5.91
Barney
#AC1DB8
ΔE00 6.17
Royal Purple
#7851A9
ΔE00 6.20
Purple (survey)
#7E1E9C
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3CAD #5FAD3C
analogous
#513CAD #8A3CAD #AD3C97
triadic
#8A3CAD #AD8A3C #3CAD8A
tetradic
#8A3CAD #AD513C #5FAD3C #3C97AD
square
#8A3CAD #AD513C #5FAD3C #3C97AD
split-complementary
#8A3CAD #97AD3C #3CAD51
monochromatic
#421C52 #662C80 #8A3CAD #A75FC7 #C08CD7
Accessibility & contrast
On white
6.31
#8A3CAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#8A3CAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3CAD
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3CAD | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#025CB0
Deuteranopia (green-blind)
#3662AA
Tritanopia (blue-blind)
#87526F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a3cad; /* rgb */ color: rgb(138, 60, 173); /* oklch */ color: oklch(51.1% 0.180 313.6);
Tailwind
colors: {
custom: {
50: '#af77c6',
500: '#8a3cad',
950: '#000000',
},
}SCSS
$custom: #8a3cad; $custom-light: #af77c6; $custom-dark: #000000;
JSON
{
"hex": "#8a3cad",
"rgb": {
"r": 138,
"g": 60,
"b": 173
},
"hsl": {
"h": 281.416,
"s": 48.498,
"l": 45.686
},
"oklch": {
"l": 0.51073,
"c": 0.1805,
"h": 313.6
},
"luminance": 0.11652
}Semantic roles & 50–950 ramp
primary
#8A3CAD
secondary
#96C283
accent
#D8507A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82