#7C337E#7C337E
#7C337E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.2% C 0.141 H 326.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7C337E |
|---|---|
| RGB | rgb(124, 51, 126) |
| HSL | hsl(298, 42%, 35%) |
| HSV | hsv(298, 60%, 49%) |
| CMYK | cmyk(1.6%, 59.5%, 0%, 50.6%) |
| CIE-LAB | lab(34.31, 42.46, -28.09) |
| CIE-LCH | lch(34.31, 50.91, 326.52°) |
| OKLab | oklab(45.16% 0.1173 -0.0775) |
| OKLCH | oklch(45.16% 0.141 326.6) |
| XYZ | xyz(13.2617, 8.1599, 20.6111) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.97
Warm Purple
#952E8F
ΔE00 5.04
Light Eggplant
#894585
ΔE00 5.29
Bruise
#7E4071
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 6.17
Purple
#800080
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C337E #357E33
analogous
#57337E #7C337E #7E335B
triadic
#7C337E #7E7C33 #337E7C
tetradic
#7C337E #7E5733 #357E33 #335B7E
square
#7C337E #7E5733 #357E33 #335B7E
split-complementary
#7C337E #5B7E33 #337E57
monochromatic
#261027 #512152 #7C337E #A745AA #C069C2
Accessibility & contrast
On white
7.98
#7C337E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#7C337E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C337E
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C337E | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#42547C
Tritanopia (blue-blind)
#7F3C53
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #7c337e; /* rgb */ color: rgb(124, 51, 126); /* oklch */ color: oklch(45.2% 0.141 326.6);
Tailwind
colors: {
custom: {
50: '#a46fa3',
500: '#7c337e',
950: '#000000',
},
}SCSS
$custom: #7c337e; $custom-light: #a46fa3; $custom-dark: #000000;
JSON
{
"hex": "#7c337e",
"rgb": {
"r": 124,
"g": 51,
"b": 126
},
"hsl": {
"h": 298.4,
"s": 42.373,
"l": 34.706
},
"oklch": {
"l": 0.45164,
"c": 0.14062,
"h": 326.6
},
"luminance": 0.08159
}Semantic roles & 50–950 ramp
primary
#7C337E
secondary
#65AA63
accent
#D25659
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F080F
muted
#7F7B7F