#7C327E#7C327E
#7C327E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.0% C 0.142 H 326.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7C327E |
|---|---|
| RGB | rgb(124, 50, 126) |
| HSL | hsl(298, 43%, 35%) |
| HSV | hsv(298, 60%, 49%) |
| CMYK | cmyk(1.6%, 60.3%, 0%, 50.6%) |
| CIE-LAB | lab(34.14, 42.95, -28.37) |
| CIE-LCH | lch(34.14, 51.47, 326.55°) |
| OKLab | oklab(45.03% 0.1187 -0.0783) |
| OKLCH | oklch(45.03% 0.142 326.6) |
| XYZ | xyz(13.2184, 8.0734, 20.5967) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.77
Warm Purple
#952E8F
ΔE00 5.02
Light Eggplant
#894585
ΔE00 5.48
Bruise
#7E4071
ΔE00 5.91
Purple
#800080
ΔE00 5.96
Darkmagenta
#8B008B
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C327E #347E32
analogous
#56327E #7C327E #7E325A
triadic
#7C327E #7E7C32 #327E7C
tetradic
#7C327E #7E5632 #347E32 #325A7E
square
#7C327E #7E5632 #347E32 #325A7E
split-complementary
#7C327E #5A7E32 #327E56
monochromatic
#260F26 #512152 #7C327E #A743AA #C068C3
Accessibility & contrast
On white
8.03
#7C327E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#7C327E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C327E
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C327E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C327E | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#42547C
Tritanopia (blue-blind)
#7F3C53
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #7c327e; /* rgb */ color: rgb(124, 50, 126); /* oklch */ color: oklch(45.0% 0.142 326.6);
Tailwind
colors: {
custom: {
50: '#a46fa3',
500: '#7c327e',
950: '#000000',
},
}SCSS
$custom: #7c327e; $custom-light: #a46fa3; $custom-dark: #000000;
JSON
{
"hex": "#7c327e",
"rgb": {
"r": 124,
"g": 50,
"b": 126
},
"hsl": {
"h": 298.421,
"s": 43.182,
"l": 34.51
},
"oklch": {
"l": 0.45034,
"c": 0.1422,
"h": 326.6
},
"luminance": 0.08073
}Semantic roles & 50–950 ramp
primary
#7C327E
secondary
#63AB61
accent
#D35558
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F