#8E2BA2#8E2BA2
#8E2BA2 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.193 H 320.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2BA2 |
|---|---|
| RGB | rgb(142, 43, 162) |
| HSL | hsl(290, 58%, 40%) |
| HSV | hsv(290, 73%, 64%) |
| CMYK | cmyk(12.3%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(38.00, 57.22, -44.09) |
| CIE-LCH | lch(38.00, 72.23, 322.38°) |
| OKLab | oklab(49.07% 0.1488 -0.1235) |
| OKLCH | oklch(49.07% 0.193 320.3) |
| XYZ | xyz(18.5400, 10.0881, 35.1460) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.03
Warm Purple
#952E8F
ΔE00 4.57
Barney Purple
#A00498
ΔE00 4.63
Purply
#983FB2
ΔE00 4.97
Darkmagenta
#8B008B
ΔE00 5.55
Barney
#AC1DB8
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2BA2 #3FA22B
analogous
#522BA2 #8E2BA2 #A22B7A
triadic
#8E2BA2 #A28E2B #2BA28E
tetradic
#8E2BA2 #A2522B #3FA22B #2B7AA2
square
#8E2BA2 #A2522B #3FA22B #2B7AA2
split-complementary
#8E2BA2 #7AA22B #2BA252
monochromatic
#391141 #641E72 #8E2BA2 #B43ECC #C76FD9
Accessibility & contrast
On white
6.96
#8E2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#8E2BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2BA2
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2BA2 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#375D9F
Tritanopia (blue-blind)
#8F4264
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8e2ba2; /* rgb */ color: rgb(142, 43, 162); /* oklch */ color: oklch(49.1% 0.193 320.3);
Tailwind
colors: {
custom: {
50: '#b36ebe',
500: '#8e2ba2',
950: '#000000',
},
}SCSS
$custom: #8e2ba2; $custom-light: #b36ebe; $custom-dark: #000000;
JSON
{
"hex": "#8e2ba2",
"rgb": {
"r": 142,
"g": 43,
"b": 162
},
"hsl": {
"h": 289.916,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.49066,
"c": 0.1934,
"h": 320.3
},
"luminance": 0.10087
}Semantic roles & 50–950 ramp
primary
#8E2BA2
secondary
#78C069
accent
#E14761
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81