#7E3771#7E3771
#7E3771 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.3% C 0.124 H 335.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3771 |
|---|---|
| RGB | rgb(126, 55, 113) |
| HSL | hsl(311, 39%, 35%) |
| HSV | hsv(311, 56%, 49%) |
| CMYK | cmyk(0%, 56.3%, 10.3%, 50.6%) |
| CIE-LAB | lab(34.72, 38.65, -19.28) |
| CIE-LCH | lch(34.72, 43.20, 333.49°) |
| OKLab | oklab(45.32% 0.112 -0.0523) |
| OKLCH | oklch(45.32% 0.124 335) |
| XYZ | xyz(12.9511, 8.3612, 16.5513) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 2.50
Grape
#6C3461
ΔE00 4.37
Light Eggplant
#894585
ΔE00 4.95
Warm Purple
#952E8F
ΔE00 6.83
Darkish Purple
#751973
ΔE00 6.90
Dirty Purple
#734A65
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3771 #377E44
analogous
#67377E #7E3771 #7E374D
triadic
#7E3771 #717E37 #37717E
tetradic
#7E3771 #7E6737 #377E44 #374D7E
square
#7E3771 #7E6737 #377E44 #374D7E
split-complementary
#7E3771 #4D7E37 #377E67
monochromatic
#291225 #53244B #7E3771 #A94A97 #C06FB1
Accessibility & contrast
On white
7.86
#7E3771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#7E3771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E3771
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3771 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#843B4F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #7e3771; /* rgb */ color: rgb(126, 55, 113); /* oklch */ color: oklch(45.3% 0.124 335.0);
Tailwind
colors: {
custom: {
50: '#a5719a',
500: '#7e3771',
950: '#000000',
},
}SCSS
$custom: #7e3771; $custom-light: #a5719a; $custom-dark: #000000;
JSON
{
"hex": "#7e3771",
"rgb": {
"r": 126,
"g": 55,
"b": 113
},
"hsl": {
"h": 310.986,
"s": 39.227,
"l": 35.49
},
"oklch": {
"l": 0.45319,
"c": 0.12357,
"h": 335
},
"luminance": 0.0836
}Semantic roles & 50–950 ramp
primary
#7E3771
secondary
#68A974
accent
#CF6E59
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080E
muted
#7F7B7E