#8A418F#8A418F
#8A418F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.9% C 0.143 H 325.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8A418F |
|---|---|
| RGB | rgb(138, 65, 143) |
| HSL | hsl(296, 38%, 41%) |
| HSV | hsv(296, 55%, 56%) |
| CMYK | cmyk(3.5%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(39.86, 42.73, -29.68) |
| CIE-LCH | lch(39.86, 52.03, 325.22°) |
| OKLab | oklab(49.94% 0.1168 -0.0819) |
| OKLCH | oklch(49.94% 0.143 325) |
| XYZ | xyz(17.3290, 11.1680, 27.2241) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 2.75
Warm Purple
#952E8F
ΔE00 3.91
Medium Purple
#9E43A2
ΔE00 4.65
Ugly Purple
#A442A0
ΔE00 5.42
Purply
#983FB2
ΔE00 6.43
Bruise
#7E4071
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A418F #468F41
analogous
#63418F #8A418F #8F416D
triadic
#8A418F #8F8A41 #418F8A
tetradic
#8A418F #8F6341 #468F41 #416D8F
square
#8A418F #8F6341 #468F41 #416D8F
split-complementary
#8A418F #6D8F41 #418F63
monochromatic
#391B3B #612E65 #8A418F #AE59B4 #C384C7
Accessibility & contrast
On white
6.49
#8A418F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#8A418F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A418F
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A418F | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375892
Deuteranopia (green-blind)
#4E618D
Tritanopia (blue-blind)
#8D4B62
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8a418f; /* rgb */ color: rgb(138, 65, 143); /* oklch */ color: oklch(49.9% 0.143 325.0);
Tailwind
colors: {
custom: {
50: '#ae79b0',
500: '#8a418f',
950: '#000000',
},
}SCSS
$custom: #8a418f; $custom-light: #ae79b0; $custom-dark: #000000;
JSON
{
"hex": "#8a418f",
"rgb": {
"r": 138,
"g": 65,
"b": 143
},
"hsl": {
"h": 296.154,
"s": 37.5,
"l": 40.784
},
"oklch": {
"l": 0.49944,
"c": 0.14266,
"h": 325
},
"luminance": 0.11167
}Semantic roles & 50–950 ramp
primary
#8A418F
secondary
#7EB17A
accent
#CD5A62
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#110910
muted
#807B7F