#7C367E#7C367E
#7C367E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.6% C 0.136 H 326.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7C367E |
|---|---|
| RGB | rgb(124, 54, 126) |
| HSL | hsl(298, 40%, 35%) |
| HSV | hsv(298, 57%, 49%) |
| CMYK | cmyk(1.6%, 57.1%, 0%, 50.6%) |
| CIE-LAB | lab(34.86, 40.97, -27.22) |
| CIE-LCH | lch(34.86, 49.19, 326.40°) |
| OKLab | oklab(45.57% 0.1131 -0.075) |
| OKLCH | oklch(45.57% 0.136 326.4) |
| XYZ | xyz(13.3970, 8.4305, 20.6562) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.71
Warm Purple
#952E8F
ΔE00 5.14
Bruise
#7E4071
ΔE00 5.22
Darkish Purple
#751973
ΔE00 5.60
Grape
#6C3461
ΔE00 6.60
Darkmagenta
#8B008B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C367E #387E36
analogous
#58367E #7C367E #7E365C
triadic
#7C367E #7E7C36 #367E7C
tetradic
#7C367E #7E5836 #387E36 #365C7E
square
#7C367E #7E5836 #387E36 #365C7E
split-complementary
#7C367E #5C7E36 #367E58
monochromatic
#281128 #522453 #7C367E #A648A9 #BE6EC1
Accessibility & contrast
On white
7.82
#7C367E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#7C367E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C367E
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C367E | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#7F3F55
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #7c367e; /* rgb */ color: rgb(124, 54, 126); /* oklch */ color: oklch(45.6% 0.136 326.4);
Tailwind
colors: {
custom: {
50: '#a471a3',
500: '#7c367e',
950: '#000000',
},
}SCSS
$custom: #7c367e; $custom-light: #a471a3; $custom-dark: #000000;
JSON
{
"hex": "#7c367e",
"rgb": {
"r": 124,
"g": 54,
"b": 126
},
"hsl": {
"h": 298.333,
"s": 40,
"l": 35.294
},
"oklch": {
"l": 0.45567,
"c": 0.13576,
"h": 326.4
},
"luminance": 0.0843
}Semantic roles & 50–950 ramp
primary
#7C367E
secondary
#68A967
accent
#D0585B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F