#8A428F#8A428F
#8A428F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.1% C 0.141 H 324.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A428F |
|---|---|
| RGB | rgb(138, 66, 143) |
| HSL | hsl(296, 37%, 41%) |
| HSV | hsv(296, 54%, 56%) |
| CMYK | cmyk(3.5%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(40.05, 42.22, -29.38) |
| CIE-LCH | lch(40.05, 51.44, 325.17°) |
| OKLab | oklab(50.09% 0.1154 -0.081) |
| OKLCH | oklch(50.09% 0.141 324.9) |
| XYZ | xyz(17.3870, 11.2838, 27.2434) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 2.62
Warm Purple
#952E8F
ΔE00 4.11
Medium Purple
#9E43A2
ΔE00 4.62
Ugly Purple
#A442A0
ΔE00 5.38
Purply
#983FB2
ΔE00 6.47
Bruise
#7E4071
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A428F #478F42
analogous
#63428F #8A428F #8F426D
triadic
#8A428F #8F8A42 #428F8A
tetradic
#8A428F #8F6342 #478F42 #426D8F
square
#8A428F #8F6342 #478F42 #426D8F
split-complementary
#8A428F #6D8F42 #428F63
monochromatic
#391B3B #622F65 #8A428F #AE5BB3 #C285C7
Accessibility & contrast
On white
6.45
#8A428F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#8A428F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A428F
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A428F | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#4F628D
Tritanopia (blue-blind)
#8D4C62
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8a428f; /* rgb */ color: rgb(138, 66, 143); /* oklch */ color: oklch(50.1% 0.141 324.9);
Tailwind
colors: {
custom: {
50: '#ae7ab0',
500: '#8a428f',
950: '#000000',
},
}SCSS
$custom: #8a428f; $custom-light: #ae7ab0; $custom-dark: #000000;
JSON
{
"hex": "#8a428f",
"rgb": {
"r": 138,
"g": 66,
"b": 143
},
"hsl": {
"h": 296.104,
"s": 36.842,
"l": 40.98
},
"oklch": {
"l": 0.50085,
"c": 0.141,
"h": 324.9
},
"luminance": 0.11283
}Semantic roles & 50–950 ramp
primary
#8A428F
secondary
#7FB17B
accent
#CD5B62
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#110910
muted
#807B7F