#8A4E7F#8A4E7F
#8A4E7F is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.2% C 0.104 H 334.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4E7F |
|---|---|
| RGB | rgb(138, 78, 127) |
| HSL | hsl(311, 28%, 42%) |
| HSV | hsv(311, 43%, 54%) |
| CMYK | cmyk(0%, 43.5%, 8%, 45.9%) |
| CIE-LAB | lab(41.82, 32.68, -16.89) |
| CIE-LCH | lch(41.82, 36.79, 332.67°) |
| OKLab | oklab(51.16% 0.0938 -0.0456) |
| OKLCH | oklch(51.16% 0.104 334.1) |
| XYZ | xyz(17.0363, 12.3853, 21.5678) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish
#94568C
ΔE00 3.52
Light Eggplant
#894585
ΔE00 3.65
Purpleish
#98568D
ΔE00 4.08
Dull Purple
#84597E
ΔE00 4.19
Bruise
#7E4071
ΔE00 4.63
Dusky Purple
#895B7B
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4E7F #4E8A59
analogous
#774E8A #8A4E7F #8A4E61
triadic
#8A4E7F #7F8A4E #4E7F8A
tetradic
#8A4E7F #8A774E #4E8A59 #4E618A
square
#8A4E7F #8A774E #4E8A59 #4E618A
split-complementary
#8A4E7F #618A4E #4E8A77
monochromatic
#3C2237 #63385B #8A4E7F #AB6A9F #C191B8
Accessibility & contrast
On white
6.04
#8A4E7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#8A4E7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4E7F
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4E7F | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5D81
Deuteranopia (green-blind)
#5D667D
Tritanopia (blue-blind)
#8F5161
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a4e7f; /* rgb */ color: rgb(138, 78, 127); /* oklch */ color: oklch(51.2% 0.104 334.1);
Tailwind
colors: {
custom: {
50: '#ad81a4',
500: '#8a4e7f',
950: '#000000',
},
}SCSS
$custom: #8a4e7f; $custom-light: #ad81a4; $custom-dark: #000000;
JSON
{
"hex": "#8a4e7f",
"rgb": {
"r": 138,
"g": 78,
"b": 127
},
"hsl": {
"h": 311,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.51162,
"c": 0.10427,
"h": 334.1
},
"luminance": 0.12384
}Semantic roles & 50–950 ramp
primary
#8A4E7F
secondary
#86AE8D
accent
#C47564
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F