#8A4E7B#8A4E7B
#8A4E7B is a mid, moderate pink. Relative luminance 0.123; OKLCH L 51.0% C 0.101 H 336.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4E7B |
|---|---|
| RGB | rgb(138, 78, 123) |
| HSL | hsl(315, 28%, 42%) |
| HSV | hsv(315, 43%, 54%) |
| CMYK | cmyk(0%, 43.5%, 10.9%, 45.9%) |
| CIE-LAB | lab(41.66, 31.95, -14.69) |
| CIE-LCH | lch(41.66, 35.17, 335.31°) |
| OKLab | oklab(50.99% 0.0927 -0.0394) |
| OKLCH | oklch(50.99% 0.101 336.9) |
| XYZ | xyz(16.7808, 12.2831, 20.2221) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Purple
#84597E
ΔE00 3.99
Purplish
#94568C
ΔE00 4.15
Bruise
#7E4071
ΔE00 4.57
Light Eggplant
#894585
ΔE00 4.57
Purpleish
#98568D
ΔE00 4.59
Dusky Purple
#895B7B
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4E7B #4E8A5D
analogous
#7B4E8A #8A4E7B #8A4E5D
triadic
#8A4E7B #7B8A4E #4E7B8A
tetradic
#8A4E7B #8A7B4E #4E8A5D #4E5D8A
square
#8A4E7B #8A7B4E #4E8A5D #4E5D8A
split-complementary
#8A4E7B #5D8A4E #4E8A7B
monochromatic
#3C2235 #633858 #8A4E7B #AB6A9B #C191B5
Accessibility & contrast
On white
6.08
#8A4E7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#8A4E7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4E7B
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4E7B | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5D7D
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#90505F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8a4e7b; /* rgb */ color: rgb(138, 78, 123); /* oklch */ color: oklch(51.0% 0.101 336.9);
Tailwind
colors: {
custom: {
50: '#ad81a1',
500: '#8a4e7b',
950: '#000000',
},
}SCSS
$custom: #8a4e7b; $custom-light: #ad81a1; $custom-dark: #000000;
JSON
{
"hex": "#8a4e7b",
"rgb": {
"r": 138,
"g": 78,
"b": 123
},
"hsl": {
"h": 315,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.5099,
"c": 0.10069,
"h": 336.9
},
"luminance": 0.12282
}Semantic roles & 50–950 ramp
primary
#8A4E7B
secondary
#86AE90
accent
#C47C64
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0F
muted
#7F7C7E