#8E2D74#8E2D74
#8E2D74 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.153 H 340.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2D74 |
|---|---|
| RGB | rgb(142, 45, 116) |
| HSL | hsl(316, 52%, 37%) |
| HSV | hsv(316, 68%, 56%) |
| CMYK | cmyk(0%, 68.3%, 18.3%, 44.3%) |
| CIE-LAB | lab(35.77, 48.52, -19.34) |
| CIE-LCH | lch(35.77, 52.23, 338.27°) |
| OKLab | oklab(46.65% 0.1443 -0.0521) |
| OKLCH | oklch(46.65% 0.153 340.2) |
| XYZ | xyz(15.2465, 8.8899, 17.4326) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 5.16
Red Violet
#9E0168
ΔE00 5.28
Warm Purple
#952E8F
ΔE00 5.48
Light Eggplant
#894585
ΔE00 5.92
Grape
#6C3461
ΔE00 7.31
Darkish Purple
#751973
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2D74 #2D8E47
analogous
#782D8E #8E2D74 #8E2D44
triadic
#8E2D74 #748E2D #2D748E
tetradic
#8E2D74 #8E782D #2D8E47 #2D448E
square
#8E2D74 #8E782D #2D8E47 #2D448E
split-complementary
#8E2D74 #448E2D #2D8E78
monochromatic
#311028 #601E4E #8E2D74 #BC3C9A #CF67B3
Accessibility & contrast
On white
7.56
#8E2D74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8E2D74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2D74
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2D74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2D74 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#96304C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8e2d74; /* rgb */ color: rgb(142, 45, 116); /* oklch */ color: oklch(46.6% 0.153 340.2);
Tailwind
colors: {
custom: {
50: '#b26e9c',
500: '#8e2d74',
950: '#000000',
},
}SCSS
$custom: #8e2d74; $custom-light: #b26e9c; $custom-dark: #000000;
JSON
{
"hex": "#8e2d74",
"rgb": {
"r": 142,
"g": 45,
"b": 116
},
"hsl": {
"h": 316.082,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.46649,
"c": 0.15341,
"h": 340.2
},
"luminance": 0.08889
}Semantic roles & 50–950 ramp
primary
#8E2D74
secondary
#61B578
accent
#DB734C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E