#8A4B97#8A4B97
#8A4B97 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 51.8% C 0.134 H 320.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4B97 |
|---|---|
| RGB | rgb(138, 75, 151) |
| HSL | hsl(290, 34%, 44%) |
| HSV | hsv(290, 50%, 59%) |
| CMYK | cmyk(8.6%, 50.3%, 0%, 40.8%) |
| CIE-LAB | lab(42.26, 39.07, -30.75) |
| CIE-LCH | lch(42.26, 49.72, 321.79°) |
| OKLab | oklab(51.85% 0.1034 -0.085) |
| OKLCH | oklch(51.85% 0.134 320.6) |
| XYZ | xyz(18.5826, 12.6705, 30.7390) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.04
Medium Purple
#9E43A2
ΔE00 4.26
Ugly Purple
#A442A0
ΔE00 5.26
Purply
#983FB2
ΔE00 5.77
Purplish
#94568C
ΔE00 6.02
Warm Purple
#952E8F
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4B97 #58974B
analogous
#644B97 #8A4B97 #974B7E
triadic
#8A4B97 #978A4B #4B978A
tetradic
#8A4B97 #97644B #58974B #4B7E97
square
#8A4B97 #97644B #58974B #4B7E97
split-complementary
#8A4B97 #7E974B #4B9764
monochromatic
#3F2245 #65376E #8A4B97 #A86AB5 #C093C9
Accessibility & contrast
On white
5.94
#8A4B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8A4B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4B97
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4B97 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5F9A
Deuteranopia (green-blind)
#526695
Tritanopia (blue-blind)
#8B556A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a4b97; /* rgb */ color: rgb(138, 75, 151); /* oklch */ color: oklch(51.8% 0.134 320.6);
Tailwind
colors: {
custom: {
50: '#ae80b6',
500: '#8a4b97',
950: '#000000',
},
}SCSS
$custom: #8a4b97; $custom-light: #ae80b6; $custom-dark: #000000;
JSON
{
"hex": "#8a4b97",
"rgb": {
"r": 138,
"g": 75,
"b": 151
},
"hsl": {
"h": 289.737,
"s": 33.628,
"l": 44.314
},
"oklch": {
"l": 0.51846,
"c": 0.13389,
"h": 320.6
},
"luminance": 0.1267
}Semantic roles & 50–950 ramp
primary
#8A4B97
secondary
#90B688
accent
#CA5E70
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80