#8E2B7F#8E2B7F
#8E2B7F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.164 H 334.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2B7F |
|---|---|
| RGB | rgb(142, 43, 127) |
| HSL | hsl(309, 54%, 36%) |
| HSV | hsv(309, 70%, 56%) |
| CMYK | cmyk(0%, 69.7%, 10.6%, 44.3%) |
| CIE-LAB | lab(36.01, 51.04, -25.85) |
| CIE-LCH | lch(36.01, 57.21, 333.14°) |
| OKLab | oklab(46.99% 0.1483 -0.0706) |
| OKLCH | oklch(46.99% 0.164 334.6) |
| XYZ | xyz(15.8501, 9.0122, 20.9793) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.08
Light Eggplant
#894585
ΔE00 5.43
Barney Purple
#A00498
ΔE00 5.48
Darkmagenta
#8B008B
ΔE00 5.58
Darkish Purple
#751973
ΔE00 6.21
Bruise
#7E4071
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2B7F #2B8E3A
analogous
#6C2B8E #8E2B7F #8E2B4E
triadic
#8E2B7F #7F8E2B #2B7F8E
tetradic
#8E2B7F #8E6C2B #2B8E3A #2B4E8E
square
#8E2B7F #8E6C2B #2B8E3A #2B4E8E
split-complementary
#8E2B7F #4E8E2B #2B8E6C
monochromatic
#300F2B #5F1D55 #8E2B7F #BD39A9 #D063BF
Accessibility & contrast
On white
7.49
#8E2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8E2B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2B7F
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2B7F | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#4C5A7D
Tritanopia (blue-blind)
#953351
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8e2b7f; /* rgb */ color: rgb(142, 43, 127); /* oklch */ color: oklch(47.0% 0.164 334.6);
Tailwind
colors: {
custom: {
50: '#b26da4',
500: '#8e2b7f',
950: '#000000',
},
}SCSS
$custom: #8e2b7f; $custom-light: #b26da4; $custom-dark: #000000;
JSON
{
"hex": "#8e2b7f",
"rgb": {
"r": 142,
"g": 43,
"b": 127
},
"hsl": {
"h": 309.091,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.46992,
"c": 0.16427,
"h": 334.6
},
"luminance": 0.09011
}Semantic roles & 50–950 ramp
primary
#8E2B7F
secondary
#5FB66C
accent
#DD614B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F