#8B4E97#8B4E97
#8B4E97 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.4% C 0.129 H 320.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4E97 |
|---|---|
| RGB | rgb(139, 78, 151) |
| HSL | hsl(290, 32%, 45%) |
| HSV | hsv(290, 48%, 59%) |
| CMYK | cmyk(7.9%, 48.3%, 0%, 40.8%) |
| CIE-LAB | lab(43.02, 37.73, -29.55) |
| CIE-LCH | lch(43.02, 47.92, 321.93°) |
| OKLab | oklab(52.44% 0.1002 -0.0816) |
| OKLCH | oklch(52.44% 0.129 320.9) |
| XYZ | xyz(18.9571, 13.1729, 30.8162) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.19
Medium Purple
#9E43A2
ΔE00 4.46
Purplish
#94568C
ΔE00 5.31
Ugly Purple
#A442A0
ΔE00 5.33
Purpleish
#98568D
ΔE00 5.78
Purply
#983FB2
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4E97 #5A974E
analogous
#674E97 #8B4E97 #974E7F
triadic
#8B4E97 #978B4E #4E978B
tetradic
#8B4E97 #97674E #5A974E #4E7F97
square
#8B4E97 #97674E #5A974E #4E7F97
split-complementary
#8B4E97 #7F974E #4E9767
monochromatic
#412446 #66396F #8B4E97 #A96EB4 #C196C9
Accessibility & contrast
On white
5.78
#8B4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#8B4E97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4E97
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4E97 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43619A
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#8C576B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8b4e97; /* rgb */ color: rgb(139, 78, 151); /* oklch */ color: oklch(52.4% 0.129 320.9);
Tailwind
colors: {
custom: {
50: '#ae82b6',
500: '#8b4e97',
950: '#000000',
},
}SCSS
$custom: #8b4e97; $custom-light: #ae82b6; $custom-dark: #000000;
JSON
{
"hex": "#8b4e97",
"rgb": {
"r": 139,
"g": 78,
"b": 151
},
"hsl": {
"h": 290.137,
"s": 31.878,
"l": 44.902
},
"oklch": {
"l": 0.52438,
"c": 0.12922,
"h": 320.9
},
"luminance": 0.13172
}Semantic roles & 50–950 ramp
primary
#8B4E97
secondary
#92B68B
accent
#C86071
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100A11
muted
#7F7C80