#8A487D#8A487D
#8A487D is a mid, moderate pink. Relative luminance 0.115; OKLCH L 50.1% C 0.114 H 335.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8A487D |
|---|---|
| RGB | rgb(138, 72, 125) |
| HSL | hsl(312, 31%, 41%) |
| HSV | hsv(312, 48%, 54%) |
| CMYK | cmyk(0%, 47.8%, 9.4%, 45.9%) |
| CIE-LAB | lab(40.44, 35.64, -17.78) |
| CIE-LCH | lch(40.44, 39.83, 333.48°) |
| OKLab | oklab(50.1% 0.1028 -0.048) |
| OKLCH | oklch(50.1% 0.114 335) |
| XYZ | xyz(16.5003, 11.5197, 20.7525) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.64
Bruise
#7E4071
ΔE00 3.46
Purplish
#94568C
ΔE00 4.71
Purpleish
#98568D
ΔE00 5.14
Dull Purple
#84597E
ΔE00 5.76
Light Plum
#9D5783
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A487D #488A55
analogous
#76488A #8A487D #8A485C
triadic
#8A487D #7D8A48 #487D8A
tetradic
#8A487D #8A7648 #488A55 #485C8A
square
#8A487D #8A7648 #488A55 #485C8A
split-complementary
#8A487D #5C8A48 #488A76
monochromatic
#3A1E34 #623359 #8A487D #AD629E #C28AB7
Accessibility & contrast
On white
6.36
#8A487D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#8A487D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A487D
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A487D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A487D | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#904B5D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a487d; /* rgb */ color: rgb(138, 72, 125); /* oklch */ color: oklch(50.1% 0.114 335.0);
Tailwind
colors: {
custom: {
50: '#ae7da2',
500: '#8a487d',
950: '#000000',
},
}SCSS
$custom: #8a487d; $custom-light: #ae7da2; $custom-dark: #000000;
JSON
{
"hex": "#8a487d",
"rgb": {
"r": 138,
"g": 72,
"b": 125
},
"hsl": {
"h": 311.818,
"s": 31.429,
"l": 41.176
},
"oklch": {
"l": 0.50102,
"c": 0.1135,
"h": 335
},
"luminance": 0.11519
}Semantic roles & 50–950 ramp
primary
#8A487D
secondary
#80AE89
accent
#C87560
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#100A0F
muted
#7F7C7F