#8A407B#8A407B
#8A407B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 48.8% C 0.126 H 335.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8A407B |
|---|---|
| RGB | rgb(138, 64, 123) |
| HSL | hsl(312, 37%, 40%) |
| HSV | hsv(312, 54%, 54%) |
| CMYK | cmyk(0%, 53.6%, 10.9%, 45.9%) |
| CIE-LAB | lab(38.73, 39.55, -19.19) |
| CIE-LCH | lch(38.73, 43.96, 334.12°) |
| OKLab | oklab(48.8% 0.1148 -0.0519) |
| OKLCH | oklch(48.8% 0.126 335.7) |
| XYZ | xyz(15.8899, 10.5012, 19.9251) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.53
Bruise
#7E4071
ΔE00 2.90
Warm Purple
#952E8F
ΔE00 5.94
Purplish
#94568C
ΔE00 6.46
Purpleish
#98568D
ΔE00 6.78
Grape
#6C3461
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A407B #408A4F
analogous
#74408A #8A407B #8A4056
triadic
#8A407B #7B8A40 #407B8A
tetradic
#8A407B #8A7440 #408A4F #40568A
square
#8A407B #8A7440 #408A4F #40568A
split-complementary
#8A407B #568A40 #408A74
monochromatic
#361930 #602D56 #8A407B #B1569E #C480B6
Accessibility & contrast
On white
6.77
#8A407B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#8A407B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A407B
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A407B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A407B | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41547D
Deuteranopia (green-blind)
#565F79
Tritanopia (blue-blind)
#904458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8a407b; /* rgb */ color: rgb(138, 64, 123); /* oklch */ color: oklch(48.8% 0.126 335.7);
Tailwind
colors: {
custom: {
50: '#ae78a1',
500: '#8a407b',
950: '#000000',
},
}SCSS
$custom: #8a407b; $custom-light: #ae78a1; $custom-dark: #000000;
JSON
{
"hex": "#8a407b",
"rgb": {
"r": 138,
"g": 64,
"b": 123
},
"hsl": {
"h": 312.162,
"s": 36.634,
"l": 39.608
},
"oklch": {
"l": 0.48798,
"c": 0.12597,
"h": 335.7
},
"luminance": 0.105
}Semantic roles & 50–950 ramp
primary
#8A407B
secondary
#77AF82
accent
#CD725B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090F
muted
#807B7E