#8A488B#8A488B
#8A488B is a mid, vivid purple. Relative luminance 0.119; OKLCH L 50.8% C 0.127 H 326.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8A488B |
|---|---|
| RGB | rgb(138, 72, 139) |
| HSL | hsl(299, 32%, 41%) |
| HSV | hsv(299, 48%, 55%) |
| CMYK | cmyk(0.7%, 48.2%, 0%, 45.5%) |
| CIE-LAB | lab(41.06, 38.27, -25.38) |
| CIE-LCH | lch(41.06, 45.92, 326.45°) |
| OKLab | oklab(50.77% 0.1059 -0.0696) |
| OKLCH | oklch(50.77% 0.127 326.7) |
| XYZ | xyz(17.4585, 11.9030, 25.7990) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 1.38
Purplish
#94568C
ΔE00 4.99
Medium Purple
#9E43A2
ΔE00 5.31
Purpleish
#98568D
ΔE00 5.48
Warm Purple
#952E8F
ΔE00 5.63
Bruise
#7E4071
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A488B #498B48
analogous
#69488B #8A488B #8B486B
triadic
#8A488B #8B8A48 #488B8A
tetradic
#8A488B #8B6948 #498B48 #486B8B
square
#8A488B #8B6948 #498B48 #486B8B
split-complementary
#8A488B #6B8B48 #488B69
monochromatic
#3A1E3A #623363 #8A488B #AD62AE #C28BC3
Accessibility & contrast
On white
6.21
#8A488B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#8A488B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A488B
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A488B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A488B | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#8D4F63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a488b; /* rgb */ color: rgb(138, 72, 139); /* oklch */ color: oklch(50.8% 0.127 326.7);
Tailwind
colors: {
custom: {
50: '#ae7dad',
500: '#8a488b',
950: '#000000',
},
}SCSS
$custom: #8a488b; $custom-light: #ae7dad; $custom-dark: #000000;
JSON
{
"hex": "#8a488b",
"rgb": {
"r": 138,
"g": 72,
"b": 139
},
"hsl": {
"h": 299.104,
"s": 31.754,
"l": 41.373
},
"oklch": {
"l": 0.50766,
"c": 0.12672,
"h": 326.7
},
"luminance": 0.11902
}Semantic roles & 50–950 ramp
primary
#8A488B
secondary
#81AE80
accent
#C86061
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F