#8B1F76#8B1F76
#8B1F76 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.170 H 337.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1F76 |
|---|---|
| RGB | rgb(139, 31, 118) |
| HSL | hsl(312, 64%, 33%) |
| HSV | hsv(312, 78%, 55%) |
| CMYK | cmyk(0%, 77.7%, 15.1%, 45.5%) |
| CIE-LAB | lab(33.52, 53.16, -24.14) |
| CIE-LCH | lch(33.52, 58.39, 335.57°) |
| OKLab | oklab(44.94% 0.1569 -0.0657) |
| OKLCH | oklch(44.94% 0.17 337.3) |
| XYZ | xyz(14.4078, 7.7783, 17.8786) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.01
Warm Purple
#952E8F
ΔE00 5.14
Darkmagenta
#8B008B
ΔE00 5.36
Purple
#800080
ΔE00 5.46
Red Violet
#9E0168
ΔE00 5.80
Barney Purple
#A00498
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1F76 #1F8B34
analogous
#6A1F8B #8B1F76 #8B1F40
triadic
#8B1F76 #768B1F #1F768B
tetradic
#8B1F76 #8B6A1F #1F8B34 #1F408B
square
#8B1F76 #8B6A1F #1F8B34 #1F408B
split-complementary
#8B1F76 #408B1F #1F8B6A
monochromatic
#270921 #59144C #8B1F76 #BD2AA0 #D74DBC
Accessibility & contrast
On white
8.22
#8B1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8B1F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1F76
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1F76 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#932649
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b1f76; /* rgb */ color: rgb(139, 31, 118); /* oklch */ color: oklch(44.9% 0.170 337.3);
Tailwind
colors: {
custom: {
50: '#b0679e',
500: '#8b1f76',
950: '#000000',
},
}SCSS
$custom: #8b1f76; $custom-light: #b0679e; $custom-dark: #000000;
JSON
{
"hex": "#8b1f76",
"rgb": {
"r": 139,
"g": 31,
"b": 118
},
"hsl": {
"h": 311.667,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.44944,
"c": 0.17009,
"h": 337.3
},
"luminance": 0.07777
}Semantic roles & 50–950 ramp
primary
#8B1F76
secondary
#4CBA61
accent
#E76141
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E