#8A2B96#8A2B96
#8A2B96 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.181 H 323.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2B96 |
|---|---|
| RGB | rgb(138, 43, 150) |
| HSL | hsl(293, 55%, 38%) |
| HSV | hsv(293, 71%, 59%) |
| CMYK | cmyk(8%, 71.3%, 0%, 41.2%) |
| CIE-LAB | lab(36.62, 54.07, -39.07) |
| CIE-LCH | lch(36.62, 66.71, 324.15°) |
| OKLab | oklab(47.72% 0.1447 -0.109) |
| OKLCH | oklch(47.72% 0.181 323) |
| XYZ | xyz(16.8496, 9.3340, 29.7624) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.40
Purple (survey)
#7E1E9C
ΔE00 3.99
Darkmagenta
#8B008B
ΔE00 4.29
Barney Purple
#A00498
ΔE00 4.31
Purple
#800080
ΔE00 5.95
Purply
#983FB2
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2B96 #37962B
analogous
#542B96 #8A2B96 #962B6C
triadic
#8A2B96 #968A2B #2B968A
tetradic
#8A2B96 #96542B #37962B #2B6C96
square
#8A2B96 #96542B #37962B #2B6C96
split-complementary
#8A2B96 #6C962B #2B9654
monochromatic
#321037 #5E1D66 #8A2B96 #B639C6 #C868D4
Accessibility & contrast
On white
7.33
#8A2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#8A2B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2B96
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2B96 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054F99
Deuteranopia (green-blind)
#3C5A93
Tritanopia (blue-blind)
#8C3E5D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a2b96; /* rgb */ color: rgb(138, 43, 150); /* oklch */ color: oklch(47.7% 0.181 323.0);
Tailwind
colors: {
custom: {
50: '#af6db5',
500: '#8a2b96',
950: '#000000',
},
}SCSS
$custom: #8a2b96; $custom-light: #af6db5; $custom-dark: #000000;
JSON
{
"hex": "#8a2b96",
"rgb": {
"r": 138,
"g": 43,
"b": 150
},
"hsl": {
"h": 293.271,
"s": 55.44,
"l": 37.843
},
"oklch": {
"l": 0.47715,
"c": 0.18113,
"h": 323
},
"luminance": 0.09333
}Semantic roles & 50–950 ramp
primary
#8A2B96
secondary
#6DBA63
accent
#DF495A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80