#8A417D#8A417D
#8A417D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.0% C 0.126 H 334.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A417D |
|---|---|
| RGB | rgb(138, 65, 125) |
| HSL | hsl(311, 36%, 40%) |
| HSV | hsv(311, 53%, 54%) |
| CMYK | cmyk(0%, 52.9%, 9.4%, 45.9%) |
| CIE-LAB | lab(39.01, 39.38, -19.99) |
| CIE-LCH | lch(39.01, 44.16, 333.09°) |
| OKLab | oklab(49.04% 0.1137 -0.0542) |
| OKLCH | oklch(49.04% 0.126 334.5) |
| XYZ | xyz(16.0732, 10.6656, 20.6101) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.05
Bruise
#7E4071
ΔE00 3.14
Warm Purple
#952E8F
ΔE00 5.75
Purplish
#94568C
ΔE00 6.17
Purpleish
#98568D
ΔE00 6.51
Ugly Purple
#A442A0
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A417D #418A4E
analogous
#73418A #8A417D #8A4158
triadic
#8A417D #7D8A41 #417D8A
tetradic
#8A417D #8A7341 #418A4E #41588A
square
#8A417D #8A7341 #418A4E #41588A
split-complementary
#8A417D #588A41 #418A73
monochromatic
#371A32 #602D57 #8A417D #B058A1 #C482B8
Accessibility & contrast
On white
6.70
#8A417D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#8A417D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A417D
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A417D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A417D | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#904559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a417d; /* rgb */ color: rgb(138, 65, 125); /* oklch */ color: oklch(49.0% 0.126 334.5);
Tailwind
colors: {
custom: {
50: '#ae79a2',
500: '#8a417d',
950: '#000000',
},
}SCSS
$custom: #8a417d; $custom-light: #ae79a2; $custom-dark: #000000;
JSON
{
"hex": "#8a417d",
"rgb": {
"r": 138,
"g": 65,
"b": 125
},
"hsl": {
"h": 310.685,
"s": 35.961,
"l": 39.804
},
"oklch": {
"l": 0.49037,
"c": 0.12595,
"h": 334.5
},
"luminance": 0.10665
}Semantic roles & 50–950 ramp
primary
#8A417D
secondary
#78AE82
accent
#CC705C
background
#FAF7FA
surface
#F5EDF3
border
#CFC8CD
text
#10090F
muted
#7F7B7F