#8F1776#8F1776
#8F1776 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.180 H 338.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1776 |
|---|---|
| RGB | rgb(143, 23, 118) |
| HSL | hsl(313, 72%, 33%) |
| HSV | hsv(313, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 17.5%, 43.9%) |
| CIE-LAB | lab(33.48, 56.34, -24.14) |
| CIE-LCH | lch(33.48, 61.30, 336.80°) |
| OKLab | oklab(45.06% 0.1676 -0.0655) |
| OKLCH | oklch(45.06% 0.18 338.6) |
| XYZ | xyz(14.9045, 7.7619, 17.8493) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.18
Darkmagenta
#8B008B
ΔE00 5.32
Warm Purple
#952E8F
ΔE00 5.40
Darkish Purple
#751973
ΔE00 5.49
Purple
#800080
ΔE00 5.55
Barney Purple
#A00498
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1776 #178F30
analogous
#6C178F #8F1776 #8F173A
triadic
#8F1776 #768F17 #17768F
tetradic
#8F1776 #8F6C17 #178F30 #173A8F
square
#8F1776 #8F6C17 #178F30 #173A8F
split-complementary
#8F1776 #3A8F17 #178F6C
monochromatic
#26061F #5A0F4A #8F1776 #C41FA2 #E040BF
Accessibility & contrast
On white
8.23
#8F1776 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8F1776 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1776
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1776 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1776 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4378
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#981E47
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1776; /* rgb */ color: rgb(143, 23, 118); /* oklch */ color: oklch(45.1% 0.180 338.6);
Tailwind
colors: {
custom: {
50: '#b4659e',
500: '#8f1776',
950: '#000000',
},
}SCSS
$custom: #8f1776; $custom-light: #b4659e; $custom-dark: #000000;
JSON
{
"hex": "#8f1776",
"rgb": {
"r": 143,
"g": 23,
"b": 118
},
"hsl": {
"h": 312.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.45057,
"c": 0.17993,
"h": 338.6
},
"luminance": 0.0776
}Semantic roles & 50–950 ramp
primary
#8F1776
secondary
#41C15C
accent
#EF5F39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E