#8A497B#8A497B
#8A497B is a mid, moderate pink. Relative luminance 0.116; OKLCH L 50.2% C 0.110 H 336.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8A497B |
|---|---|
| RGB | rgb(138, 73, 123) |
| HSL | hsl(314, 31%, 41%) |
| HSV | hsv(314, 47%, 54%) |
| CMYK | cmyk(0%, 47.1%, 10.9%, 45.9%) |
| CIE-LAB | lab(40.57, 34.73, -16.36) |
| CIE-LCH | lch(40.57, 38.39, 334.78°) |
| OKLab | oklab(50.17% 0.1007 -0.044) |
| OKLCH | oklch(50.17% 0.11 336.4) |
| XYZ | xyz(16.4390, 11.5995, 20.1081) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 3.36
Bruise
#7E4071
ΔE00 3.49
Purplish
#94568C
ΔE00 4.73
Purpleish
#98568D
ΔE00 5.14
Dull Purple
#84597E
ΔE00 5.38
Light Plum
#9D5783
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A497B #498A58
analogous
#79498A #8A497B #8A495B
triadic
#8A497B #7B8A49 #497B8A
tetradic
#8A497B #8A7949 #498A58 #495B8A
square
#8A497B #8A7949 #498A58 #495B8A
split-complementary
#8A497B #5B8A49 #498A79
monochromatic
#3A1F34 #623457 #8A497B #AD639C #C28BB5
Accessibility & contrast
On white
6.33
#8A497B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8A497B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A497B
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A497B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A497B | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5A7D
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#904C5C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a497b; /* rgb */ color: rgb(138, 73, 123); /* oklch */ color: oklch(50.2% 0.110 336.4);
Tailwind
colors: {
custom: {
50: '#ae7ea1',
500: '#8a497b',
950: '#000000',
},
}SCSS
$custom: #8a497b; $custom-light: #ae7ea1; $custom-dark: #000000;
JSON
{
"hex": "#8a497b",
"rgb": {
"r": 138,
"g": 73,
"b": 123
},
"hsl": {
"h": 313.846,
"s": 30.806,
"l": 41.373
},
"oklch": {
"l": 0.50172,
"c": 0.10993,
"h": 336.4
},
"luminance": 0.11598
}Semantic roles & 50–950 ramp
primary
#8A497B
secondary
#81AE8B
accent
#C77861
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0F
muted
#7F7C7E