#8A487B#8A487B
#8A487B is a mid, moderate pink. Relative luminance 0.115; OKLCH L 50.0% C 0.112 H 336.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8A487B |
|---|---|
| RGB | rgb(138, 72, 123) |
| HSL | hsl(314, 31%, 41%) |
| HSV | hsv(314, 48%, 54%) |
| CMYK | cmyk(0%, 47.8%, 10.9%, 45.9%) |
| CIE-LAB | lab(40.36, 35.28, -16.68) |
| CIE-LCH | lch(40.36, 39.03, 334.69°) |
| OKLab | oklab(50.01% 0.1023 -0.0449) |
| OKLCH | oklch(50.01% 0.112 336.3) |
| XYZ | xyz(16.3738, 11.4691, 20.0864) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 3.17
Bruise
#7E4071
ΔE00 3.33
Purplish
#94568C
ΔE00 4.90
Purpleish
#98568D
ΔE00 5.29
Dull Purple
#84597E
ΔE00 5.65
Light Plum
#9D5783
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A487B #488A57
analogous
#78488A #8A487B #8A485A
triadic
#8A487B #7B8A48 #487B8A
tetradic
#8A487B #8A7848 #488A57 #485A8A
square
#8A487B #8A7848 #488A57 #485A8A
split-complementary
#8A487B #5A8A48 #488A78
monochromatic
#3A1E33 #623357 #8A487B #AD629C #C28AB5
Accessibility & contrast
On white
6.38
#8A487B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8A487B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A487B
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A487B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A487B | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#904B5C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a487b; /* rgb */ color: rgb(138, 72, 123); /* oklch */ color: oklch(50.0% 0.112 336.3);
Tailwind
colors: {
custom: {
50: '#ae7da1',
500: '#8a487b',
950: '#000000',
},
}SCSS
$custom: #8a487b; $custom-light: #ae7da1; $custom-dark: #000000;
JSON
{
"hex": "#8a487b",
"rgb": {
"r": 138,
"g": 72,
"b": 123
},
"hsl": {
"h": 313.636,
"s": 31.429,
"l": 41.176
},
"oklch": {
"l": 0.50013,
"c": 0.11176,
"h": 336.3
},
"luminance": 0.11468
}Semantic roles & 50–950 ramp
primary
#8A487B
secondary
#80AE8A
accent
#C87860
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0F
muted
#7F7C7E