#7C2176#7C2176
#7C2176 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.159 H 330.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2176 |
|---|---|
| RGB | rgb(124, 33, 118) |
| HSL | hsl(304, 58%, 31%) |
| HSV | hsv(304, 73%, 49%) |
| CMYK | cmyk(0%, 73.4%, 4.8%, 51.4%) |
| CIE-LAB | lab(31.07, 48.82, -28.17) |
| CIE-LCH | lch(31.07, 56.36, 330.01°) |
| OKLab | oklab(42.67% 0.1389 -0.0776) |
| OKLCH | oklch(42.67% 0.159 330.8) |
| XYZ | xyz(12.1260, 6.6817, 17.7871) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.01
Purple
#800080
ΔE00 3.65
Darkmagenta
#8B008B
ΔE00 4.65
Warm Purple
#952E8F
ΔE00 6.29
Rich Purple
#720058
ΔE00 6.49
Grape
#6C3461
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2176 #217C27
analogous
#54217C #7C2176 #7C2148
triadic
#7C2176 #767C21 #21767C
tetradic
#7C2176 #7C5421 #217C27 #21487C
square
#7C2176 #7C5421 #217C27 #21487C
split-complementary
#7C2176 #487C21 #217C54
monochromatic
#1B071A #4C1448 #7C2176 #AC2EA4 #CF49C6
Accessibility & contrast
On white
8.99
#7C2176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7C2176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2176
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2176 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#3C4E74
Tritanopia (blue-blind)
#812C49
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7c2176; /* rgb */ color: rgb(124, 33, 118); /* oklch */ color: oklch(42.7% 0.159 330.8);
Tailwind
colors: {
custom: {
50: '#a5669e',
500: '#7c2176',
950: '#000000',
},
}SCSS
$custom: #7c2176; $custom-light: #a5669e; $custom-dark: #000000;
JSON
{
"hex": "#7c2176",
"rgb": {
"r": 124,
"g": 33,
"b": 118
},
"hsl": {
"h": 303.956,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.42672,
"c": 0.15912,
"h": 330.8
},
"luminance": 0.06681
}Semantic roles & 50–950 ramp
primary
#7C2176
secondary
#4AAF51
accent
#E15147
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E