#8A36A9#8A36A9
#8A36A9 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.185 H 315.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8A36A9 |
|---|---|
| RGB | rgb(138, 54, 169) |
| HSL | hsl(284, 52%, 44%) |
| HSV | hsv(284, 68%, 66%) |
| CMYK | cmyk(18.3%, 68%, 0%, 33.7%) |
| CIE-LAB | lab(39.42, 53.26, -46.03) |
| CIE-LCH | lch(39.42, 70.40, 319.16°) |
| OKLab | oklab(50.1% 0.1317 -0.1294) |
| OKLCH | oklch(50.1% 0.185 315.5) |
| XYZ | xyz(18.9607, 10.9069, 38.6349) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.68
Purple (survey)
#7E1E9C
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.52
Barney
#AC1DB8
ΔE00 5.95
Warm Purple
#952E8F
ΔE00 6.10
Medium Purple
#9E43A2
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A36A9 #55A936
analogous
#5036A9 #8A36A9 #A9368E
triadic
#8A36A9 #A98A36 #36A98A
tetradic
#8A36A9 #A95036 #55A936 #368EA9
square
#8A36A9 #A95036 #55A936 #368EA9
split-complementary
#8A36A9 #8EA936 #36A950
monochromatic
#3E184C #64277B #8A36A9 #A954C8 #C082D7
Accessibility & contrast
On white
6.60
#8A36A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#8A36A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A36A9
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A36A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A36A9 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#345FA6
Tritanopia (blue-blind)
#884C6B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a36a9; /* rgb */ color: rgb(138, 54, 169); /* oklch */ color: oklch(50.1% 0.185 315.5);
Tailwind
colors: {
custom: {
50: '#b074c3',
500: '#8a36a9',
950: '#000000',
},
}SCSS
$custom: #8a36a9; $custom-light: #b074c3; $custom-dark: #000000;
JSON
{
"hex": "#8a36a9",
"rgb": {
"r": 138,
"g": 54,
"b": 169
},
"hsl": {
"h": 283.826,
"s": 51.57,
"l": 43.725
},
"oklch": {
"l": 0.50103,
"c": 0.18465,
"h": 315.5
},
"luminance": 0.10906
}Semantic roles & 50–950 ramp
primary
#8A36A9
secondary
#8DC17A
accent
#DB4D73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81