#8A407D#8A407D
#8A407D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 48.9% C 0.128 H 334.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8A407D |
|---|---|
| RGB | rgb(138, 64, 125) |
| HSL | hsl(311, 37%, 40%) |
| HSV | hsv(311, 54%, 54%) |
| CMYK | cmyk(0%, 53.6%, 9.4%, 45.9%) |
| CIE-LAB | lab(38.82, 39.90, -20.29) |
| CIE-LCH | lch(38.82, 44.76, 333.05°) |
| OKLab | oklab(48.89% 0.1152 -0.055) |
| OKLCH | oklch(48.89% 0.128 334.5) |
| XYZ | xyz(16.0163, 10.5518, 20.5912) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.10
Bruise
#7E4071
ΔE00 3.18
Warm Purple
#952E8F
ΔE00 5.55
Purplish
#94568C
ΔE00 6.39
Purpleish
#98568D
ΔE00 6.72
Grape
#6C3461
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A407D #408A4D
analogous
#72408A #8A407D #8A4058
triadic
#8A407D #7D8A40 #407D8A
tetradic
#8A407D #8A7240 #408A4D #40588A
square
#8A407D #8A7240 #408A4D #40588A
split-complementary
#8A407D #588A40 #408A72
monochromatic
#361931 #602D57 #8A407D #B156A1 #C480B8
Accessibility & contrast
On white
6.75
#8A407D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#8A407D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A407D
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A407D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A407D | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#904459
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8a407d; /* rgb */ color: rgb(138, 64, 125); /* oklch */ color: oklch(48.9% 0.128 334.5);
Tailwind
colors: {
custom: {
50: '#ae78a3',
500: '#8a407d',
950: '#000000',
},
}SCSS
$custom: #8a407d; $custom-light: #ae78a3; $custom-dark: #000000;
JSON
{
"hex": "#8a407d",
"rgb": {
"r": 138,
"g": 64,
"b": 125
},
"hsl": {
"h": 310.541,
"s": 36.634,
"l": 39.608
},
"oklch": {
"l": 0.48892,
"c": 0.12768,
"h": 334.5
},
"luminance": 0.10551
}Semantic roles & 50–950 ramp
primary
#8A407D
secondary
#77AF81
accent
#CD6F5B
background
#FAF7FA
surface
#F5EDF3
border
#CFC8CD
text
#11090F
muted
#807B7F