#8E1D7B#8E1D7B
#8E1D7B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.177 H 336.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1D7B |
|---|---|
| RGB | rgb(142, 29, 123) |
| HSL | hsl(310, 66%, 34%) |
| HSV | hsv(310, 80%, 56%) |
| CMYK | cmyk(0%, 79.6%, 13.4%, 44.3%) |
| CIE-LAB | lab(34.11, 55.23, -26.32) |
| CIE-LCH | lch(34.11, 61.18, 334.52°) |
| OKLab | oklab(45.56% 0.1622 -0.0718) |
| OKLCH | oklch(45.56% 0.177 336.1) |
| XYZ | xyz(15.1701, 8.0610, 19.4920) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.35
Darkmagenta
#8B008B
ΔE00 4.60
Purple
#800080
ΔE00 5.10
Darkish Purple
#751973
ΔE00 5.19
Barney Purple
#A00498
ΔE00 5.40
Red Violet
#9E0168
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1D7B #1D8E30
analogous
#681D8E #8E1D7B #8E1D43
triadic
#8E1D7B #7B8E1D #1D7B8E
tetradic
#8E1D7B #8E681D #1D8E30 #1D438E
square
#8E1D7B #8E681D #1D8E30 #1D438E
split-complementary
#8E1D7B #438E1D #1D8E68
monochromatic
#280823 #5B134F #8E1D7B #C127A7 #DA4BC2
Accessibility & contrast
On white
8.04
#8E1D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#8E1D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1D7B
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1D7B | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F457D
Deuteranopia (green-blind)
#485678
Tritanopia (blue-blind)
#96264B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e1d7b; /* rgb */ color: rgb(142, 29, 123); /* oklch */ color: oklch(45.6% 0.177 336.1);
Tailwind
colors: {
custom: {
50: '#b367a1',
500: '#8e1d7b',
950: '#000000',
},
}SCSS
$custom: #8e1d7b; $custom-light: #b367a1; $custom-dark: #000000;
JSON
{
"hex": "#8e1d7b",
"rgb": {
"r": 142,
"g": 29,
"b": 123
},
"hsl": {
"h": 310.088,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.45556,
"c": 0.17739,
"h": 336.1
},
"luminance": 0.0806
}Semantic roles & 50–950 ramp
primary
#8E1D7B
secondary
#4ABD5D
accent
#E95B3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E