#8F2579#8F2579
#8F2579 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.168 H 337.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2579 |
|---|---|
| RGB | rgb(143, 37, 121) |
| HSL | hsl(312, 59%, 35%) |
| HSV | hsv(312, 74%, 56%) |
| CMYK | cmyk(0%, 74.1%, 15.4%, 43.9%) |
| CIE-LAB | lab(35.09, 52.60, -23.52) |
| CIE-LCH | lch(35.09, 57.61, 335.91°) |
| OKLab | oklab(46.27% 0.1553 -0.0639) |
| OKLCH | oklch(46.27% 0.168 337.6) |
| XYZ | xyz(15.4408, 8.5447, 18.9215) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.36
Red Violet
#9E0168
ΔE00 5.63
Darkmagenta
#8B008B
ΔE00 5.92
Barney Purple
#A00498
ΔE00 6.10
Darkish Purple
#751973
ΔE00 6.12
Purple
#800080
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2579 #258F3B
analogous
#70258F #8F2579 #8F2544
triadic
#8F2579 #798F25 #25798F
tetradic
#8F2579 #8F7025 #258F3B #25448F
square
#8F2579 #8F7025 #258F3B #25448F
split-complementary
#8F2579 #448F25 #258F70
monochromatic
#2E0C27 #5E1850 #8F2579 #C032A2 #D45ABB
Accessibility & contrast
On white
7.75
#8F2579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#8F2579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2579
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2579 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29487B
Deuteranopia (green-blind)
#4C5876
Tritanopia (blue-blind)
#972B4C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f2579; /* rgb */ color: rgb(143, 37, 121); /* oklch */ color: oklch(46.3% 0.168 337.6);
Tailwind
colors: {
custom: {
50: '#b36aa0',
500: '#8f2579',
950: '#000000',
},
}SCSS
$custom: #8f2579; $custom-light: #b36aa0; $custom-dark: #000000;
JSON
{
"hex": "#8f2579",
"rgb": {
"r": 143,
"g": 37,
"b": 121
},
"hsl": {
"h": 312.453,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.46266,
"c": 0.16792,
"h": 337.6
},
"luminance": 0.08543
}Semantic roles & 50–950 ramp
primary
#8F2579
secondary
#57B96B
accent
#E26646
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E