#8A4B95#8A4B95
#8A4B95 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.7% C 0.132 H 321.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4B95 |
|---|---|
| RGB | rgb(138, 75, 149) |
| HSL | hsl(291, 33%, 44%) |
| HSV | hsv(291, 50%, 58%) |
| CMYK | cmyk(7.4%, 49.7%, 0%, 41.6%) |
| CIE-LAB | lab(42.16, 38.65, -29.70) |
| CIE-LCH | lch(42.16, 48.74, 322.46°) |
| OKLab | oklab(51.74% 0.1031 -0.082) |
| OKLCH | oklch(51.74% 0.132 321.5) |
| XYZ | xyz(18.4215, 12.6061, 29.8908) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 3.63
Medium Purple
#9E43A2
ΔE00 4.39
Ugly Purple
#A442A0
ΔE00 5.29
Purplish
#94568C
ΔE00 5.69
Purply
#983FB2
ΔE00 6.14
Purpleish
#98568D
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4B95 #56954B
analogous
#654B95 #8A4B95 #954B7B
triadic
#8A4B95 #958A4B #4B958A
tetradic
#8A4B95 #95654B #56954B #4B7B95
square
#8A4B95 #95654B #56954B #4B7B95
split-complementary
#8A4B95 #7B954B #4B9565
monochromatic
#3F2244 #64376C #8A4B95 #A969B4 #C092C8
Accessibility & contrast
On white
5.96
#8A4B95 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#8A4B95 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4B95
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4B95 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405F98
Deuteranopia (green-blind)
#526693
Tritanopia (blue-blind)
#8B5569
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a4b95; /* rgb */ color: rgb(138, 75, 149); /* oklch */ color: oklch(51.7% 0.132 321.5);
Tailwind
colors: {
custom: {
50: '#ae80b4',
500: '#8a4b95',
950: '#000000',
},
}SCSS
$custom: #8a4b95; $custom-light: #ae80b4; $custom-dark: #000000;
JSON
{
"hex": "#8a4b95",
"rgb": {
"r": 138,
"g": 75,
"b": 149
},
"hsl": {
"h": 291.081,
"s": 33.036,
"l": 43.922
},
"oklch": {
"l": 0.51741,
"c": 0.13175,
"h": 321.5
},
"luminance": 0.12605
}Semantic roles & 50–950 ramp
primary
#8A4B95
secondary
#8EB487
accent
#C95F6E
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80