#8E2E9F#8E2E9F
#8E2E9F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.187 H 321.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2E9F |
|---|---|
| RGB | rgb(142, 46, 159) |
| HSL | hsl(291, 55%, 40%) |
| HSV | hsv(291, 71%, 62%) |
| CMYK | cmyk(10.7%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(38.21, 55.50, -41.94) |
| CIE-LCH | lch(38.21, 69.57, 322.92°) |
| OKLab | oklab(49.16% 0.146 -0.1172) |
| OKLCH | oklch(49.16% 0.187 321.2) |
| XYZ | xyz(18.3896, 10.2090, 33.7960) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.96
Purple (survey)
#7E1E9C
ΔE00 4.44
Barney Purple
#A00498
ΔE00 4.54
Purply
#983FB2
ΔE00 4.86
Darkmagenta
#8B008B
ΔE00 5.57
Barney
#AC1DB8
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2E9F #3F9F2E
analogous
#552E9F #8E2E9F #9F2E78
triadic
#8E2E9F #9F8E2E #2E9F8E
tetradic
#8E2E9F #9F552E #3F9F2E #2E789F
square
#8E2E9F #9F552E #3F9F2E #2E789F
split-complementary
#8E2E9F #789F2E #2E9F55
monochromatic
#391340 #642070 #8E2E9F #B442C8 #C771D6
Accessibility & contrast
On white
6.90
#8E2E9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#8E2E9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2E9F
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2E9F | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#3B5D9C
Tritanopia (blue-blind)
#8F4363
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8e2e9f; /* rgb */ color: rgb(142, 46, 159); /* oklch */ color: oklch(49.2% 0.187 321.2);
Tailwind
colors: {
custom: {
50: '#b270bc',
500: '#8e2e9f',
950: '#000000',
},
}SCSS
$custom: #8e2e9f; $custom-light: #b270bc; $custom-dark: #000000;
JSON
{
"hex": "#8e2e9f",
"rgb": {
"r": 142,
"g": 46,
"b": 159
},
"hsl": {
"h": 290.973,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.4916,
"c": 0.18722,
"h": 321.2
},
"luminance": 0.10208
}Semantic roles & 50–950 ramp
primary
#8E2E9F
secondary
#78BE6B
accent
#DE4960
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81