#7E387D#7E387D
#7E387D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.1% C 0.133 H 328.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7E387D |
|---|---|
| RGB | rgb(126, 56, 125) |
| HSL | hsl(301, 38%, 36%) |
| HSV | hsv(301, 56%, 49%) |
| CMYK | cmyk(0%, 55.6%, 0.8%, 50.6%) |
| CIE-LAB | lab(35.49, 40.35, -25.60) |
| CIE-LCH | lch(35.49, 47.78, 327.61°) |
| OKLab | oklab(46.07% 0.1126 -0.0703) |
| OKLCH | oklch(46.07% 0.133 328) |
| XYZ | xyz(13.7198, 8.7455, 20.3635) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.01
Bruise
#7E4071
ΔE00 4.44
Warm Purple
#952E8F
ΔE00 5.08
Darkish Purple
#751973
ΔE00 6.19
Grape
#6C3461
ΔE00 6.36
Darkmagenta
#8B008B
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E387D #387E39
analogous
#5C387E #7E387D #7E385A
triadic
#7E387D #7D7E38 #387D7E
tetradic
#7E387D #7E5C38 #387E39 #385A7E
square
#7E387D #7E5C38 #387E39 #385A7E
split-complementary
#7E387D #5A7E38 #387E5C
monochromatic
#291229 #542553 #7E387D #A84BA7 #C071BF
Accessibility & contrast
On white
7.64
#7E387D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#7E387D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E387D
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E387D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E387D | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#824055
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7e387d; /* rgb */ color: rgb(126, 56, 125); /* oklch */ color: oklch(46.1% 0.133 328.0);
Tailwind
colors: {
custom: {
50: '#a572a3',
500: '#7e387d',
950: '#000000',
},
}SCSS
$custom: #7e387d; $custom-light: #a572a3; $custom-dark: #000000;
JSON
{
"hex": "#7e387d",
"rgb": {
"r": 126,
"g": 56,
"b": 125
},
"hsl": {
"h": 300.857,
"s": 38.462,
"l": 35.686
},
"oklch": {
"l": 0.46071,
"c": 0.13276,
"h": 328
},
"luminance": 0.08745
}Semantic roles & 50–950 ramp
primary
#7E387D
secondary
#69A96A
accent
#CE5B59
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10080F
muted
#7F7B7F