#8A497E#8A497E
#8A497E is a mid, moderate pink. Relative luminance 0.117; OKLCH L 50.3% C 0.113 H 334.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8A497E |
|---|---|
| RGB | rgb(138, 73, 126) |
| HSL | hsl(311, 31%, 41%) |
| HSV | hsv(311, 47%, 54%) |
| CMYK | cmyk(0%, 47.1%, 8.7%, 45.9%) |
| CIE-LAB | lab(40.70, 35.27, -18.01) |
| CIE-LCH | lch(40.70, 39.60, 332.95°) |
| OKLab | oklab(50.31% 0.1015 -0.0487) |
| OKLCH | oklch(50.31% 0.113 334.4) |
| XYZ | xyz(16.6296, 11.6757, 21.1124) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.59
Bruise
#7E4071
ΔE00 3.67
Purplish
#94568C
ΔE00 4.44
Purpleish
#98568D
ΔE00 4.90
Dull Purple
#84597E
ΔE00 5.55
Light Plum
#9D5783
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A497E #498A55
analogous
#76498A #8A497E #8A495E
triadic
#8A497E #7E8A49 #497E8A
tetradic
#8A497E #8A7649 #498A55 #495E8A
square
#8A497E #8A7649 #498A55 #495E8A
split-complementary
#8A497E #5E8A49 #498A76
monochromatic
#3A1F35 #623459 #8A497E #AD639F #C28BB8
Accessibility & contrast
On white
6.30
#8A497E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#8A497E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A497E
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A497E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A497E | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#8F4C5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a497e; /* rgb */ color: rgb(138, 73, 126); /* oklch */ color: oklch(50.3% 0.113 334.4);
Tailwind
colors: {
custom: {
50: '#ae7ea3',
500: '#8a497e',
950: '#000000',
},
}SCSS
$custom: #8a497e; $custom-light: #ae7ea3; $custom-dark: #000000;
JSON
{
"hex": "#8a497e",
"rgb": {
"r": 138,
"g": 73,
"b": 126
},
"hsl": {
"h": 311.077,
"s": 30.806,
"l": 41.373
},
"oklch": {
"l": 0.50305,
"c": 0.11257,
"h": 334.4
},
"luminance": 0.11675
}Semantic roles & 50–950 ramp
primary
#8A497E
secondary
#81AE89
accent
#C77461
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#100A0F
muted
#7F7C7F