#8A4B99#8A4B99
#8A4B99 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.0% C 0.136 H 319.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4B99 |
|---|---|
| RGB | rgb(138, 75, 153) |
| HSL | hsl(288, 34%, 45%) |
| HSV | hsv(288, 51%, 60%) |
| CMYK | cmyk(9.8%, 51%, 0%, 40%) |
| CIE-LAB | lab(42.36, 39.48, -31.79) |
| CIE-LCH | lch(42.36, 50.69, 321.16°) |
| OKLab | oklab(51.95% 0.1037 -0.0881) |
| OKLCH | oklch(51.95% 0.136 319.7) |
| XYZ | xyz(18.7464, 12.7361, 31.6016) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.18
Light Eggplant
#894585
ΔE00 4.46
Ugly Purple
#A442A0
ΔE00 5.27
Purply
#983FB2
ΔE00 5.42
Royal Purple
#7851A9
ΔE00 6.25
Purplish
#94568C
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4B99 #5A994B
analogous
#634B99 #8A4B99 #994B81
triadic
#8A4B99 #998A4B #4B998A
tetradic
#8A4B99 #99634B #5A994B #4B8199
square
#8A4B99 #99634B #5A994B #4B8199
split-complementary
#8A4B99 #81994B #4B9963
monochromatic
#402347 #653770 #8A4B99 #A86BB6 #C094CB
Accessibility & contrast
On white
5.92
#8A4B99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#8A4B99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4B99
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4B99 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#516697
Tritanopia (blue-blind)
#8B566B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a4b99; /* rgb */ color: rgb(138, 75, 153); /* oklch */ color: oklch(52.0% 0.136 319.7);
Tailwind
colors: {
custom: {
50: '#ae80b7',
500: '#8a4b99',
950: '#000000',
},
}SCSS
$custom: #8a4b99; $custom-light: #ae80b7; $custom-dark: #000000;
JSON
{
"hex": "#8a4b99",
"rgb": {
"r": 138,
"g": 75,
"b": 153
},
"hsl": {
"h": 288.462,
"s": 34.211,
"l": 44.706
},
"oklch": {
"l": 0.51953,
"c": 0.13605,
"h": 319.7
},
"luminance": 0.12735
}Semantic roles & 50–950 ramp
primary
#8A4B99
secondary
#92B789
accent
#CA5E72
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80