#7E367D#7E367D
#7E367D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.8% C 0.136 H 328.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E367D |
|---|---|
| RGB | rgb(126, 54, 125) |
| HSL | hsl(301, 40%, 35%) |
| HSV | hsv(301, 57%, 49%) |
| CMYK | cmyk(0%, 57.1%, 0.8%, 50.6%) |
| CIE-LAB | lab(35.11, 41.36, -26.19) |
| CIE-LCH | lch(35.11, 48.95, 327.66°) |
| OKLab | oklab(45.8% 0.1155 -0.072) |
| OKLCH | oklch(45.8% 0.136 328) |
| XYZ | xyz(13.6248, 8.5555, 20.3318) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.40
Bruise
#7E4071
ΔE00 4.80
Warm Purple
#952E8F
ΔE00 4.93
Darkish Purple
#751973
ΔE00 5.74
Grape
#6C3461
ΔE00 6.43
Darkmagenta
#8B008B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E367D #367E37
analogous
#5B367E #7E367D #7E3659
triadic
#7E367D #7D7E36 #367D7E
tetradic
#7E367D #7E5B36 #367E37 #36597E
square
#7E367D #7E5B36 #367E37 #36597E
split-complementary
#7E367D #597E36 #367E5B
monochromatic
#281128 #532452 #7E367D #A948A8 #C16EC0
Accessibility & contrast
On white
7.75
#7E367D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#7E367D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E367D
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E367D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E367D | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4D7F
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#823E54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7e367d; /* rgb */ color: rgb(126, 54, 125); /* oklch */ color: oklch(45.8% 0.136 328.0);
Tailwind
colors: {
custom: {
50: '#a571a3',
500: '#7e367d',
950: '#000000',
},
}SCSS
$custom: #7e367d; $custom-light: #a571a3; $custom-dark: #000000;
JSON
{
"hex": "#7e367d",
"rgb": {
"r": 126,
"g": 54,
"b": 125
},
"hsl": {
"h": 300.833,
"s": 40,
"l": 35.294
},
"oklch": {
"l": 0.45795,
"c": 0.13608,
"h": 328
},
"luminance": 0.08555
}Semantic roles & 50–950 ramp
primary
#7E367D
secondary
#67A967
accent
#D05A58
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10080F
muted
#7F7B7F