#7D397F#7D397F
#7D397F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.2% C 0.132 H 326.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7D397F |
|---|---|
| RGB | rgb(125, 57, 127) |
| HSL | hsl(298, 38%, 36%) |
| HSV | hsv(298, 55%, 50%) |
| CMYK | cmyk(1.6%, 55.1%, 0%, 50.2%) |
| CIE-LAB | lab(35.63, 39.92, -26.63) |
| CIE-LCH | lch(35.63, 47.99, 326.30°) |
| OKLab | oklab(46.18% 0.1102 -0.0733) |
| OKLCH | oklch(46.18% 0.132 326.4) |
| XYZ | xyz(13.7511, 8.8193, 21.0525) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.03
Bruise
#7E4071
ΔE00 4.81
Warm Purple
#952E8F
ΔE00 5.11
Darkish Purple
#751973
ΔE00 6.33
Grape
#6C3461
ΔE00 6.69
Darkmagenta
#8B008B
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D397F #3B7F39
analogous
#5A397F #7D397F #7F395E
triadic
#7D397F #7F7D39 #397F7D
tetradic
#7D397F #7F5A39 #3B7F39 #395E7F
square
#7D397F #7F5A39 #3B7F39 #395E7F
split-complementary
#7D397F #5E7F39 #397F5A
monochromatic
#2A132B #532655 #7D397F #A74CA9 #BE72C0
Accessibility & contrast
On white
7.60
#7D397F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#7D397F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D397F
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D397F | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#47577D
Tritanopia (blue-blind)
#804156
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7d397f; /* rgb */ color: rgb(125, 57, 127); /* oklch */ color: oklch(46.2% 0.132 326.4);
Tailwind
colors: {
custom: {
50: '#a573a4',
500: '#7d397f',
950: '#000000',
},
}SCSS
$custom: #7d397f; $custom-light: #a573a4; $custom-dark: #000000;
JSON
{
"hex": "#7d397f",
"rgb": {
"r": 125,
"g": 57,
"b": 127
},
"hsl": {
"h": 298.286,
"s": 38.043,
"l": 36.078
},
"oklch": {
"l": 0.4618,
"c": 0.13237,
"h": 326.4
},
"luminance": 0.08819
}Semantic roles & 50–950 ramp
primary
#7D397F
secondary
#6CA96B
accent
#CE5A5D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F