#7E367F#7E367F
#7E367F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.9% C 0.138 H 327.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E367F |
|---|---|
| RGB | rgb(126, 54, 127) |
| HSL | hsl(299, 40%, 35%) |
| HSV | hsv(299, 57%, 50%) |
| CMYK | cmyk(0.8%, 57.5%, 0%, 50.2%) |
| CIE-LAB | lab(35.22, 41.74, -27.27) |
| CIE-LCH | lch(35.22, 49.86, 326.84°) |
| OKLab | oklab(45.9% 0.1157 -0.0751) |
| OKLCH | oklch(45.9% 0.138 327) |
| XYZ | xyz(13.7539, 8.6071, 21.0114) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.47
Warm Purple
#952E8F
ΔE00 4.75
Bruise
#7E4071
ΔE00 5.20
Darkish Purple
#751973
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 6.66
Grape
#6C3461
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E367F #377F36
analogous
#59367F #7E367F #7F365B
triadic
#7E367F #7F7E36 #367F7E
tetradic
#7E367F #7F5936 #377F36 #365B7F
square
#7E367F #7F5936 #377F36 #365B7F
split-complementary
#7E367F #5B7F36 #367F59
monochromatic
#291129 #532454 #7E367F #A948AA #C06EC1
Accessibility & contrast
On white
7.72
#7E367F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#7E367F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E367F
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E367F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E367F | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#813F55
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7e367f; /* rgb */ color: rgb(126, 54, 127); /* oklch */ color: oklch(45.9% 0.138 327.0);
Tailwind
colors: {
custom: {
50: '#a671a4',
500: '#7e367f',
950: '#000000',
},
}SCSS
$custom: #7e367f; $custom-light: #a671a4; $custom-dark: #000000;
JSON
{
"hex": "#7e367f",
"rgb": {
"r": 126,
"g": 54,
"b": 127
},
"hsl": {
"h": 299.178,
"s": 40.331,
"l": 35.49
},
"oklch": {
"l": 0.45904,
"c": 0.13797,
"h": 327
},
"luminance": 0.08606
}Semantic roles & 50–950 ramp
primary
#7E367F
secondary
#68AA67
accent
#D05859
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10080F
muted
#7F7B7F