#7E2E76#7E2E76
#7E2E76 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.142 H 331.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2E76 |
|---|---|
| RGB | rgb(126, 46, 118) |
| HSL | hsl(306, 47%, 34%) |
| HSV | hsv(306, 63%, 49%) |
| CMYK | cmyk(0%, 63.5%, 6.3%, 50.6%) |
| CIE-LAB | lab(33.35, 43.93, -24.57) |
| CIE-LCH | lch(33.35, 50.33, 330.78°) |
| OKLab | oklab(44.39% 0.1256 -0.0673) |
| OKLCH | oklch(44.39% 0.142 331.8) |
| XYZ | xyz(12.8512, 7.6986, 17.9451) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.38
Bruise
#7E4071
ΔE00 5.18
Warm Purple
#952E8F
ΔE00 5.55
Grape
#6C3461
ΔE00 5.74
Light Eggplant
#894585
ΔE00 5.94
Purple
#800080
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2E76 #2E7E36
analogous
#5E2E7E #7E2E76 #7E2E4E
triadic
#7E2E76 #767E2E #2E767E
tetradic
#7E2E76 #7E5E2E #2E7E36 #2E4E7E
square
#7E2E76 #7E5E2E #2E7E36 #2E4E7E
split-complementary
#7E2E76 #4E7E2E #2E7E5E
monochromatic
#240D22 #511E4C #7E2E76 #AB3EA0 #C561BB
Accessibility & contrast
On white
8.27
#7E2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#7E2E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2E76
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2E76 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#455274
Tritanopia (blue-blind)
#83354D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7e2e76; /* rgb */ color: rgb(126, 46, 118); /* oklch */ color: oklch(44.4% 0.142 331.8);
Tailwind
colors: {
custom: {
50: '#a66c9e',
500: '#7e2e76',
950: '#000000',
},
}SCSS
$custom: #7e2e76; $custom-light: #a66c9e; $custom-dark: #000000;
JSON
{
"hex": "#7e2e76",
"rgb": {
"r": 126,
"g": 46,
"b": 118
},
"hsl": {
"h": 306,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.44387,
"c": 0.14246,
"h": 331.8
},
"luminance": 0.07698
}Semantic roles & 50–950 ramp
primary
#7E2E76
secondary
#5CAC64
accent
#D65F52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E