#8A2E96#8A2E96
#8A2E96 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.177 H 322.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2E96 |
|---|---|
| RGB | rgb(138, 46, 150) |
| HSL | hsl(293, 53%, 38%) |
| HSV | hsv(293, 69%, 59%) |
| CMYK | cmyk(8%, 69.3%, 0%, 41.2%) |
| CIE-LAB | lab(37.04, 52.88, -38.40) |
| CIE-LCH | lch(37.04, 65.35, 324.01°) |
| OKLab | oklab(48.02% 0.1414 -0.107) |
| OKLCH | oklch(48.02% 0.177 322.9) |
| XYZ | xyz(16.9627, 9.5602, 29.8001) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.22
Purple (survey)
#7E1E9C
ΔE00 4.35
Barney Purple
#A00498
ΔE00 4.52
Darkmagenta
#8B008B
ΔE00 4.73
Purply
#983FB2
ΔE00 6.13
Purple
#800080
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2E96 #3A962E
analogous
#562E96 #8A2E96 #962E6E
triadic
#8A2E96 #968A2E #2E968A
tetradic
#8A2E96 #96562E #3A962E #2E6E96
square
#8A2E96 #96562E #3A962E #2E6E96
split-complementary
#8A2E96 #6E962E #2E9656
monochromatic
#341138 #5F2067 #8A2E96 #B43EC4 #C66CD2
Accessibility & contrast
On white
7.21
#8A2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#8A2E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2E96
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2E96 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105099
Deuteranopia (green-blind)
#3D5B93
Tritanopia (blue-blind)
#8C405E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a2e96; /* rgb */ color: rgb(138, 46, 150); /* oklch */ color: oklch(48.0% 0.177 322.9);
Tailwind
colors: {
custom: {
50: '#af6fb5',
500: '#8a2e96',
950: '#000000',
},
}SCSS
$custom: #8a2e96; $custom-light: #af6fb5; $custom-dark: #000000;
JSON
{
"hex": "#8a2e96",
"rgb": {
"r": 138,
"g": 46,
"b": 150
},
"hsl": {
"h": 293.077,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.48018,
"c": 0.17737,
"h": 322.9
},
"luminance": 0.09559
}Semantic roles & 50–950 ramp
primary
#8A2E96
secondary
#70B967
accent
#DC4B5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80