#7E397E#7E397E
#7E397E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.3% C 0.132 H 327.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E397E |
|---|---|
| RGB | rgb(126, 57, 126) |
| HSL | hsl(300, 38%, 36%) |
| HSV | hsv(300, 55%, 49%) |
| CMYK | cmyk(0%, 54.8%, 0%, 50.6%) |
| CIE-LAB | lab(35.73, 40.03, -25.84) |
| CIE-LCH | lch(35.73, 47.64, 327.15°) |
| OKLab | oklab(46.27% 0.1113 -0.071) |
| OKLCH | oklch(46.27% 0.132 327.4) |
| XYZ | xyz(13.8330, 8.8690, 20.7179) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 3.84
Bruise
#7E4071
ΔE00 4.49
Warm Purple
#952E8F
ΔE00 5.06
Darkish Purple
#751973
ΔE00 6.40
Grape
#6C3461
ΔE00 6.52
Darkmagenta
#8B008B
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E397E #397E39
analogous
#5B397E #7E397E #7E395B
triadic
#7E397E #7E7E39 #397E7E
tetradic
#7E397E #7E5B39 #397E39 #395B7E
square
#7E397E #7E5B39 #397E39 #395B7E
split-complementary
#7E397E #5B7E39 #397E5B
monochromatic
#2A132A #542654 #7E397E #A84CA8 #BF72BF
Accessibility & contrast
On white
7.57
#7E397E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#7E397E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E397E
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E397E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E397E | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#48577C
Tritanopia (blue-blind)
#824156
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7e397e; /* rgb */ color: rgb(126, 57, 126); /* oklch */ color: oklch(46.3% 0.132 327.4);
Tailwind
colors: {
custom: {
50: '#a573a3',
500: '#7e397e',
950: '#000000',
},
}SCSS
$custom: #7e397e; $custom-light: #a573a3; $custom-dark: #000000;
JSON
{
"hex": "#7e397e",
"rgb": {
"r": 126,
"g": 57,
"b": 126
},
"hsl": {
"h": 300,
"s": 37.705,
"l": 35.882
},
"oklch": {
"l": 0.46265,
"c": 0.13204,
"h": 327.4
},
"luminance": 0.08868
}Semantic roles & 50–950 ramp
primary
#7E397E
secondary
#6AA86A
accent
#CE5A5A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F