#8A4F7C#8A4F7C
#8A4F7C is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.2% C 0.100 H 336.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4F7C |
|---|---|
| RGB | rgb(138, 79, 124) |
| HSL | hsl(314, 27%, 43%) |
| HSV | hsv(314, 43%, 54%) |
| CMYK | cmyk(0%, 42.8%, 10.1%, 45.9%) |
| CIE-LAB | lab(41.92, 31.57, -14.90) |
| CIE-LCH | lch(41.92, 34.91, 334.73°) |
| OKLab | oklab(51.2% 0.0913 -0.04) |
| OKLCH | oklch(51.2% 0.1 336.3) |
| XYZ | xyz(16.9153, 12.4514, 20.5773) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Dull Purple
#84597E
ΔE00 3.73
Purplish
#94568C
ΔE00 3.90
Purpleish
#98568D
ΔE00 4.38
Dusky Purple
#895B7B
ΔE00 4.48
Light Eggplant
#894585
ΔE00 4.61
Bruise
#7E4071
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4F7C #4F8A5D
analogous
#7A4F8A #8A4F7C #8A4F5F
triadic
#8A4F7C #7C8A4F #4F7C8A
tetradic
#8A4F7C #8A7A4F #4F8A5D #4F5F8A
square
#8A4F7C #8A7A4F #4F8A5D #4F5F8A
split-complementary
#8A4F7C #5F8A4F #4F8A7A
monochromatic
#3C2236 #633959 #8A4F7C #AB6C9C #C193B6
Accessibility & contrast
On white
6.02
#8A4F7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#8A4F7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4F7C
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4F7C | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505D7E
Deuteranopia (green-blind)
#5F667A
Tritanopia (blue-blind)
#905160
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a4f7c; /* rgb */ color: rgb(138, 79, 124); /* oklch */ color: oklch(51.2% 0.100 336.3);
Tailwind
colors: {
custom: {
50: '#ad82a2',
500: '#8a4f7c',
950: '#000000',
},
}SCSS
$custom: #8a4f7c; $custom-light: #ad82a2; $custom-dark: #000000;
JSON
{
"hex": "#8a4f7c",
"rgb": {
"r": 138,
"g": 79,
"b": 124
},
"hsl": {
"h": 314.237,
"s": 27.189,
"l": 42.549
},
"oklch": {
"l": 0.512,
"c": 0.0997,
"h": 336.3
},
"luminance": 0.1245
}Semantic roles & 50–950 ramp
primary
#8A4F7C
secondary
#87AE90
accent
#C47B64
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0F
muted
#7F7C7E