#8E4B98#8E4B98
#8E4B98 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.4% C 0.137 H 322.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4B98 |
|---|---|
| RGB | rgb(142, 75, 152) |
| HSL | hsl(292, 34%, 45%) |
| HSV | hsv(292, 51%, 60%) |
| CMYK | cmyk(6.6%, 50.7%, 0%, 40.4%) |
| CIE-LAB | lab(42.84, 40.46, -30.41) |
| CIE-LCH | lch(42.84, 50.61, 323.07°) |
| OKLab | oklab(52.4% 0.1085 -0.084) |
| OKLCH | oklch(52.4% 0.137 322.3) |
| XYZ | xyz(19.3383, 13.0508, 31.2001) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.57
Light Eggplant
#894585
ΔE00 4.03
Ugly Purple
#A442A0
ΔE00 4.47
Purply
#983FB2
ΔE00 5.58
Purplish
#94568C
ΔE00 5.61
Purpleish
#98568D
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4B98 #55984B
analogous
#684B98 #8E4B98 #984B7C
triadic
#8E4B98 #988E4B #4B988E
tetradic
#8E4B98 #98684B #55984B #4B7C98
square
#8E4B98 #98684B #55984B #4B7C98
split-complementary
#8E4B98 #7C984B #4B9868
monochromatic
#412346 #68376F #8E4B98 #AC6AB6 #C393CA
Accessibility & contrast
On white
5.82
#8E4B98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8E4B98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4B98
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4B98 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40609B
Deuteranopia (green-blind)
#546896
Tritanopia (blue-blind)
#90556A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8e4b98; /* rgb */ color: rgb(142, 75, 152); /* oklch */ color: oklch(52.4% 0.137 322.3);
Tailwind
colors: {
custom: {
50: '#b180b6',
500: '#8e4b98',
950: '#000000',
},
}SCSS
$custom: #8e4b98; $custom-light: #b180b6; $custom-dark: #000000;
JSON
{
"hex": "#8e4b98",
"rgb": {
"r": 142,
"g": 75,
"b": 152
},
"hsl": {
"h": 292.208,
"s": 33.921,
"l": 44.51
},
"oklch": {
"l": 0.52402,
"c": 0.13722,
"h": 322.3
},
"luminance": 0.1305
}Semantic roles & 50–950 ramp
primary
#8E4B98
secondary
#8FB689
accent
#CA5E6C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80