#7E367E#7E367E
#7E367E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.9% C 0.137 H 327.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E367E |
|---|---|
| RGB | rgb(126, 54, 126) |
| HSL | hsl(300, 40%, 35%) |
| HSV | hsv(300, 57%, 49%) |
| CMYK | cmyk(0%, 57.1%, 0%, 50.6%) |
| CIE-LAB | lab(35.16, 41.55, -26.73) |
| CIE-LCH | lch(35.16, 49.41, 327.25°) |
| OKLab | oklab(45.85% 0.1156 -0.0736) |
| OKLCH | oklch(45.85% 0.137 327.5) |
| XYZ | xyz(13.6890, 8.5811, 20.6699) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.43
Warm Purple
#952E8F
ΔE00 4.84
Bruise
#7E4071
ΔE00 5.00
Darkish Purple
#751973
ΔE00 5.73
Grape
#6C3461
ΔE00 6.63
Darkmagenta
#8B008B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E367E #367E36
analogous
#5A367E #7E367E #7E365A
triadic
#7E367E #7E7E36 #367E7E
tetradic
#7E367E #7E5A36 #367E36 #365A7E
square
#7E367E #7E5A36 #367E36 #365A7E
split-complementary
#7E367E #5A7E36 #367E5A
monochromatic
#281128 #532453 #7E367E #A948A9 #C16EC1
Accessibility & contrast
On white
7.73
#7E367E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#7E367E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E367E
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E367E | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#823E55
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7e367e; /* rgb */ color: rgb(126, 54, 126); /* oklch */ color: oklch(45.9% 0.137 327.5);
Tailwind
colors: {
custom: {
50: '#a671a3',
500: '#7e367e',
950: '#000000',
},
}SCSS
$custom: #7e367e; $custom-light: #a671a3; $custom-dark: #000000;
JSON
{
"hex": "#7e367e",
"rgb": {
"r": 126,
"g": 54,
"b": 126
},
"hsl": {
"h": 300,
"s": 40,
"l": 35.294
},
"oklch": {
"l": 0.4585,
"c": 0.13702,
"h": 327.5
},
"luminance": 0.0858
}Semantic roles & 50–950 ramp
primary
#7E367E
secondary
#67A967
accent
#D05858
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10080F
muted
#7F7B7F