#8A4F7A#8A4F7A
#8A4F7A is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.1% C 0.098 H 337.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4F7A |
|---|---|
| RGB | rgb(138, 79, 122) |
| HSL | hsl(316, 27%, 43%) |
| HSV | hsv(316, 43%, 54%) |
| CMYK | cmyk(0%, 42.8%, 11.6%, 45.9%) |
| CIE-LAB | lab(41.85, 31.21, -13.80) |
| CIE-LCH | lch(41.85, 34.12, 336.15°) |
| OKLab | oklab(51.12% 0.0907 -0.037) |
| OKLCH | oklch(51.12% 0.098 337.8) |
| XYZ | xyz(16.7901, 12.4014, 19.9179) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Purple
#84597E
ΔE00 3.73
Dusky Purple
#895B7B
ΔE00 4.23
Purplish
#94568C
ΔE00 4.30
Purpleish
#98568D
ΔE00 4.72
Light Plum
#9D5783
ΔE00 4.79
Bruise
#7E4071
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4F7A #4F8A5F
analogous
#7C4F8A #8A4F7A #8A4F5D
triadic
#8A4F7A #7A8A4F #4F7A8A
tetradic
#8A4F7A #8A7C4F #4F8A5F #4F5D8A
square
#8A4F7A #8A7C4F #4F8A5F #4F5D8A
split-complementary
#8A4F7A #5D8A4F #4F8A7C
monochromatic
#3C2235 #633958 #8A4F7A #AB6C9A #C193B4
Accessibility & contrast
On white
6.03
#8A4F7A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#8A4F7A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4F7A
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4F7A | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#606678
Tritanopia (blue-blind)
#90515F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a4f7a; /* rgb */ color: rgb(138, 79, 122); /* oklch */ color: oklch(51.1% 0.098 337.8);
Tailwind
colors: {
custom: {
50: '#ad82a0',
500: '#8a4f7a',
950: '#000000',
},
}SCSS
$custom: #8a4f7a; $custom-light: #ad82a0; $custom-dark: #000000;
JSON
{
"hex": "#8a4f7a",
"rgb": {
"r": 138,
"g": 79,
"b": 122
},
"hsl": {
"h": 316.271,
"s": 27.189,
"l": 42.549
},
"oklch": {
"l": 0.51116,
"c": 0.09797,
"h": 337.8
},
"luminance": 0.124
}Semantic roles & 50–950 ramp
primary
#8A4F7A
secondary
#87AE92
accent
#C47E64
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E