#8A2C96#8A2C96
#8A2C96 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.180 H 323.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2C96 |
|---|---|
| RGB | rgb(138, 44, 150) |
| HSL | hsl(293, 55%, 38%) |
| HSV | hsv(293, 71%, 59%) |
| CMYK | cmyk(8%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(36.76, 53.68, -38.85) |
| CIE-LCH | lch(36.76, 66.27, 324.10°) |
| OKLab | oklab(47.81% 0.1436 -0.1083) |
| OKLCH | oklch(47.81% 0.18 323) |
| XYZ | xyz(16.8864, 9.4076, 29.7747) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.33
Purple (survey)
#7E1E9C
ΔE00 4.10
Barney Purple
#A00498
ΔE00 4.37
Darkmagenta
#8B008B
ΔE00 4.43
Purple
#800080
ΔE00 6.08
Purply
#983FB2
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2C96 #38962C
analogous
#552C96 #8A2C96 #962C6D
triadic
#8A2C96 #968A2C #2C968A
tetradic
#8A2C96 #96552C #38962C #2C6D96
square
#8A2C96 #96552C #38962C #2C6D96
split-complementary
#8A2C96 #6D962C #2C9655
monochromatic
#331037 #5E1E67 #8A2C96 #B53AC5 #C769D3
Accessibility & contrast
On white
7.29
#8A2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#8A2C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2C96
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2C96 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#094F99
Deuteranopia (green-blind)
#3C5A93
Tritanopia (blue-blind)
#8C3E5E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a2c96; /* rgb */ color: rgb(138, 44, 150); /* oklch */ color: oklch(47.8% 0.180 323.0);
Tailwind
colors: {
custom: {
50: '#af6eb5',
500: '#8a2c96',
950: '#000000',
},
}SCSS
$custom: #8a2c96; $custom-light: #af6eb5; $custom-dark: #000000;
JSON
{
"hex": "#8a2c96",
"rgb": {
"r": 138,
"g": 44,
"b": 150
},
"hsl": {
"h": 293.208,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.47814,
"c": 0.17989,
"h": 323
},
"luminance": 0.09407
}Semantic roles & 50–950 ramp
primary
#8A2C96
secondary
#6EBA64
accent
#DE4A5B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80