#8B2779#8B2779
#8B2779 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.163 H 336.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2779 |
|---|---|
| RGB | rgb(139, 39, 121) |
| HSL | hsl(311, 56%, 35%) |
| HSV | hsv(311, 72%, 55%) |
| CMYK | cmyk(0%, 71.9%, 12.9%, 45.5%) |
| CIE-LAB | lab(34.64, 50.85, -24.27) |
| CIE-LCH | lch(34.64, 56.34, 334.49°) |
| OKLab | oklab(45.81% 0.149 -0.0661) |
| OKLCH | oklch(45.81% 0.163 336.1) |
| XYZ | xyz(14.8244, 8.3218, 18.9110) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.33
Darkish Purple
#751973
ΔE00 5.47
Darkmagenta
#8B008B
ΔE00 5.64
Purple
#800080
ΔE00 5.99
Bruise
#7E4071
ΔE00 6.21
Barney Purple
#A00498
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2779 #278B39
analogous
#6B278B #8B2779 #8B2747
triadic
#8B2779 #798B27 #27798B
tetradic
#8B2779 #8B6B27 #278B39 #27478B
square
#8B2779 #8B6B27 #278B39 #27478B
split-complementary
#8B2779 #478B27 #278B6B
monochromatic
#2B0C26 #5B1A4F #8B2779 #BB34A3 #D15BBC
Accessibility & contrast
On white
7.88
#8B2779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8B2779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2779
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2779 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#4A5777
Tritanopia (blue-blind)
#922E4D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b2779; /* rgb */ color: rgb(139, 39, 121); /* oklch */ color: oklch(45.8% 0.163 336.1);
Tailwind
colors: {
custom: {
50: '#b06ba0',
500: '#8b2779',
950: '#000000',
},
}SCSS
$custom: #8b2779; $custom-light: #b06ba0; $custom-dark: #000000;
JSON
{
"hex": "#8b2779",
"rgb": {
"r": 139,
"g": 39,
"b": 121
},
"hsl": {
"h": 310.8,
"s": 56.18,
"l": 34.902
},
"oklch": {
"l": 0.45807,
"c": 0.16297,
"h": 336.1
},
"luminance": 0.0832
}Semantic roles & 50–950 ramp
primary
#8B2779
secondary
#58B669
accent
#DF6448
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E