#8F2776#8F2776
#8F2776 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.163 H 339.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2776 |
|---|---|
| RGB | rgb(143, 39, 118) |
| HSL | hsl(314, 57%, 36%) |
| HSV | hsv(314, 73%, 56%) |
| CMYK | cmyk(0%, 72.7%, 17.5%, 43.9%) |
| CIE-LAB | lab(35.20, 51.43, -21.46) |
| CIE-LCH | lch(35.20, 55.73, 337.35°) |
| OKLab | oklab(46.3% 0.1527 -0.058) |
| OKLCH | oklch(46.3% 0.163 339.2) |
| XYZ | xyz(15.3236, 8.6001, 17.9890) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.96
Red Violet
#9E0168
ΔE00 5.15
Bruise
#7E4071
ΔE00 6.09
Light Eggplant
#894585
ΔE00 6.46
Darkish Purple
#751973
ΔE00 6.59
Darkmagenta
#8B008B
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2776 #278F40
analogous
#74278F #8F2776 #8F2742
triadic
#8F2776 #768F27 #27768F
tetradic
#8F2776 #8F7427 #278F40 #27428F
square
#8F2776 #8F7427 #278F40 #27428F
split-complementary
#8F2776 #428F27 #278F74
monochromatic
#2F0D27 #5F1A4E #8F2776 #BF349E #D35DB7
Accessibility & contrast
On white
7.72
#8F2776 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#8F2776 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2776
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2776 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2776 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4878
Deuteranopia (green-blind)
#4E5974
Tritanopia (blue-blind)
#972B4B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8f2776; /* rgb */ color: rgb(143, 39, 118); /* oklch */ color: oklch(46.3% 0.163 339.2);
Tailwind
colors: {
custom: {
50: '#b36b9d',
500: '#8f2776',
950: '#000000',
},
}SCSS
$custom: #8f2776; $custom-light: #b36b9d; $custom-dark: #000000;
JSON
{
"hex": "#8f2776",
"rgb": {
"r": 143,
"g": 39,
"b": 118
},
"hsl": {
"h": 314.423,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.46299,
"c": 0.16338,
"h": 339.2
},
"luminance": 0.08599
}Semantic roles & 50–950 ramp
primary
#8F2776
secondary
#5AB870
accent
#E06C47
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E