#8A4E7D#8A4E7D
#8A4E7D is a mid, moderate pink. Relative luminance 0.123; OKLCH L 51.1% C 0.102 H 335.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4E7D |
|---|---|
| RGB | rgb(138, 78, 125) |
| HSL | hsl(313, 28%, 42%) |
| HSV | hsv(313, 43%, 54%) |
| CMYK | cmyk(0%, 43.5%, 9.4%, 45.9%) |
| CIE-LAB | lab(41.74, 32.31, -15.79) |
| CIE-LCH | lch(41.74, 35.97, 333.95°) |
| OKLab | oklab(51.08% 0.0932 -0.0425) |
| OKLCH | oklch(51.08% 0.102 335.5) |
| XYZ | xyz(16.9073, 12.3337, 20.8882) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish
#94568C
ΔE00 3.80
Dull Purple
#84597E
ΔE00 4.05
Light Eggplant
#894585
ΔE00 4.09
Purpleish
#98568D
ΔE00 4.30
Bruise
#7E4071
ΔE00 4.56
Dusky Purple
#895B7B
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4E7D #4E8A5B
analogous
#794E8A #8A4E7D #8A4E5F
triadic
#8A4E7D #7D8A4E #4E7D8A
tetradic
#8A4E7D #8A794E #4E8A5B #4E5F8A
square
#8A4E7D #8A794E #4E8A5B #4E5F8A
split-complementary
#8A4E7D #5F8A4E #4E8A79
monochromatic
#3C2236 #63385A #8A4E7D #AB6A9D #C191B7
Accessibility & contrast
On white
6.06
#8A4E7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#8A4E7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4E7D
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4E7D | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#5E667B
Tritanopia (blue-blind)
#8F5160
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8a4e7d; /* rgb */ color: rgb(138, 78, 125); /* oklch */ color: oklch(51.1% 0.102 335.5);
Tailwind
colors: {
custom: {
50: '#ad81a2',
500: '#8a4e7d',
950: '#000000',
},
}SCSS
$custom: #8a4e7d; $custom-light: #ad81a2; $custom-dark: #000000;
JSON
{
"hex": "#8a4e7d",
"rgb": {
"r": 138,
"g": 78,
"b": 125
},
"hsl": {
"h": 313,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.51075,
"c": 0.10246,
"h": 335.5
},
"luminance": 0.12333
}Semantic roles & 50–950 ramp
primary
#8A4E7D
secondary
#86AE8F
accent
#C47964
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#100A0F
muted
#7F7C7F