#8A497D#8A497D
#8A497D is a mid, moderate pink. Relative luminance 0.116; OKLCH L 50.3% C 0.112 H 335.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8A497D |
|---|---|
| RGB | rgb(138, 73, 125) |
| HSL | hsl(312, 31%, 41%) |
| HSV | hsv(312, 47%, 54%) |
| CMYK | cmyk(0%, 47.1%, 9.4%, 45.9%) |
| CIE-LAB | lab(40.65, 35.09, -17.46) |
| CIE-LCH | lch(40.65, 39.19, 333.55°) |
| OKLab | oklab(50.26% 0.1013 -0.0471) |
| OKLCH | oklch(50.26% 0.112 335) |
| XYZ | xyz(16.5654, 11.6501, 20.7742) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.84
Bruise
#7E4071
ΔE00 3.59
Purplish
#94568C
ΔE00 4.53
Purpleish
#98568D
ΔE00 4.96
Dull Purple
#84597E
ΔE00 5.48
Light Plum
#9D5783
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A497D #498A56
analogous
#77498A #8A497D #8A495D
triadic
#8A497D #7D8A49 #497D8A
tetradic
#8A497D #8A7749 #498A56 #495D8A
square
#8A497D #8A7749 #498A56 #495D8A
split-complementary
#8A497D #5D8A49 #498A77
monochromatic
#3A1F34 #623459 #8A497D #AD639E #C28BB7
Accessibility & contrast
On white
6.31
#8A497D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#8A497D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A497D
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A497D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A497D | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495A7F
Deuteranopia (green-blind)
#5B637B
Tritanopia (blue-blind)
#904C5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a497d; /* rgb */ color: rgb(138, 73, 125); /* oklch */ color: oklch(50.3% 0.112 335.0);
Tailwind
colors: {
custom: {
50: '#ae7ea2',
500: '#8a497d',
950: '#000000',
},
}SCSS
$custom: #8a497d; $custom-light: #ae7ea2; $custom-dark: #000000;
JSON
{
"hex": "#8a497d",
"rgb": {
"r": 138,
"g": 73,
"b": 125
},
"hsl": {
"h": 312,
"s": 30.806,
"l": 41.373
},
"oklch": {
"l": 0.50261,
"c": 0.11169,
"h": 335
},
"luminance": 0.11649
}Semantic roles & 50–950 ramp
primary
#8A497D
secondary
#81AE8A
accent
#C77561
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#100A0F
muted
#7F7C7F