#8A2A96#8A2A96
#8A2A96 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.182 H 323.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A96 |
|---|---|
| RGB | rgb(138, 42, 150) |
| HSL | hsl(293, 56%, 38%) |
| HSV | hsv(293, 72%, 59%) |
| CMYK | cmyk(8%, 72%, 0%, 41.2%) |
| CIE-LAB | lab(36.48, 54.45, -39.29) |
| CIE-LCH | lch(36.48, 67.15, 324.19°) |
| OKLab | oklab(47.62% 0.1457 -0.1096) |
| OKLCH | oklch(47.62% 0.182 323.1) |
| XYZ | xyz(16.8137, 9.2622, 29.7504) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.47
Purple (survey)
#7E1E9C
ΔE00 3.88
Darkmagenta
#8B008B
ΔE00 4.15
Barney Purple
#A00498
ΔE00 4.25
Purple
#800080
ΔE00 5.83
Purply
#983FB2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A96 #36962A
analogous
#542A96 #8A2A96 #962A6C
triadic
#8A2A96 #968A2A #2A968A
tetradic
#8A2A96 #96542A #36962A #2A6C96
square
#8A2A96 #96542A #36962A #2A6C96
split-complementary
#8A2A96 #6C962A #2A9654
monochromatic
#320F36 #5E1D66 #8A2A96 #B637C6 #C866D4
Accessibility & contrast
On white
7.36
#8A2A96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#8A2A96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A96
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A96 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024F99
Deuteranopia (green-blind)
#3B5A93
Tritanopia (blue-blind)
#8C3D5D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a2a96; /* rgb */ color: rgb(138, 42, 150); /* oklch */ color: oklch(47.6% 0.182 323.1);
Tailwind
colors: {
custom: {
50: '#af6db5',
500: '#8a2a96',
950: '#000000',
},
}SCSS
$custom: #8a2a96; $custom-light: #af6db5; $custom-dark: #000000;
JSON
{
"hex": "#8a2a96",
"rgb": {
"r": 138,
"g": 42,
"b": 150
},
"hsl": {
"h": 293.333,
"s": 56.25,
"l": 37.647
},
"oklch": {
"l": 0.47618,
"c": 0.18234,
"h": 323.1
},
"luminance": 0.09261
}Semantic roles & 50–950 ramp
primary
#8A2A96
secondary
#6BBA61
accent
#E04859
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80