#8E2579#8E2579
#8E2579 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 337.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2579 |
|---|---|
| RGB | rgb(142, 37, 121) |
| HSL | hsl(312, 59%, 35%) |
| HSV | hsv(312, 74%, 56%) |
| CMYK | cmyk(0%, 73.9%, 14.8%, 44.3%) |
| CIE-LAB | lab(34.91, 52.34, -23.81) |
| CIE-LCH | lch(34.91, 57.50, 335.54°) |
| OKLab | oklab(46.1% 0.1543 -0.0647) |
| OKLCH | oklch(46.1% 0.167 337.2) |
| XYZ | xyz(15.2684, 8.4558, 18.9135) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.35
Darkmagenta
#8B008B
ΔE00 5.78
Red Violet
#9E0168
ΔE00 5.79
Darkish Purple
#751973
ΔE00 5.91
Barney Purple
#A00498
ΔE00 6.10
Purple
#800080
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2579 #258E3A
analogous
#6E258E #8E2579 #8E2545
triadic
#8E2579 #798E25 #25798E
tetradic
#8E2579 #8E6E25 #258E3A #25458E
square
#8E2579 #8E6E25 #258E3A #25458E
split-complementary
#8E2579 #458E25 #258E6E
monochromatic
#2D0C26 #5D1850 #8E2579 #BF32A2 #D45ABB
Accessibility & contrast
On white
7.80
#8E2579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#8E2579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2579
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2579 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#962B4C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8e2579; /* rgb */ color: rgb(142, 37, 121); /* oklch */ color: oklch(46.1% 0.167 337.2);
Tailwind
colors: {
custom: {
50: '#b26aa0',
500: '#8e2579',
950: '#000000',
},
}SCSS
$custom: #8e2579; $custom-light: #b26aa0; $custom-dark: #000000;
JSON
{
"hex": "#8e2579",
"rgb": {
"r": 142,
"g": 37,
"b": 121
},
"hsl": {
"h": 312,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.46103,
"c": 0.1673,
"h": 337.2
},
"luminance": 0.08454
}Semantic roles & 50–950 ramp
primary
#8E2579
secondary
#56B96A
accent
#E26546
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E