#8A4E7E#8A4E7E
#8A4E7E is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.1% C 0.103 H 334.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4E7E |
|---|---|
| RGB | rgb(138, 78, 126) |
| HSL | hsl(312, 28%, 42%) |
| HSV | hsv(312, 43%, 54%) |
| CMYK | cmyk(0%, 43.5%, 8.7%, 45.9%) |
| CIE-LAB | lab(41.78, 32.50, -16.34) |
| CIE-LCH | lch(41.78, 36.37, 333.30°) |
| OKLab | oklab(51.12% 0.0935 -0.044) |
| OKLCH | oklch(51.12% 0.103 334.8) |
| XYZ | xyz(16.9715, 12.3594, 21.2263) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish
#94568C
ΔE00 3.66
Light Eggplant
#894585
ΔE00 3.86
Dull Purple
#84597E
ΔE00 4.11
Purpleish
#98568D
ΔE00 4.18
Bruise
#7E4071
ΔE00 4.58
Dusky Purple
#895B7B
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4E7E #4E8A5A
analogous
#784E8A #8A4E7E #8A4E60
triadic
#8A4E7E #7E8A4E #4E7E8A
tetradic
#8A4E7E #8A784E #4E8A5A #4E608A
square
#8A4E7E #8A784E #4E8A5A #4E608A
split-complementary
#8A4E7E #608A4E #4E8A78
monochromatic
#3C2237 #63385A #8A4E7E #AB6A9E #C191B8
Accessibility & contrast
On white
6.05
#8A4E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#8A4E7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4E7E
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4E7E | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#8F5160
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a4e7e; /* rgb */ color: rgb(138, 78, 126); /* oklch */ color: oklch(51.1% 0.103 334.8);
Tailwind
colors: {
custom: {
50: '#ad81a3',
500: '#8a4e7e',
950: '#000000',
},
}SCSS
$custom: #8a4e7e; $custom-light: #ad81a3; $custom-dark: #000000;
JSON
{
"hex": "#8a4e7e",
"rgb": {
"r": 138,
"g": 78,
"b": 126
},
"hsl": {
"h": 312,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.51119,
"c": 0.10336,
"h": 334.8
},
"luminance": 0.12358
}Semantic roles & 50–950 ramp
primary
#8A4E7E
secondary
#86AE8E
accent
#C47764
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#100A0F
muted
#7F7C7F