#7E2D79#7E2D79
#7E2D79 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.147 H 330.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2D79 |
|---|---|
| RGB | rgb(126, 45, 121) |
| HSL | hsl(304, 47%, 34%) |
| HSV | hsv(304, 64%, 49%) |
| CMYK | cmyk(0%, 64.3%, 4%, 50.6%) |
| CIE-LAB | lab(33.34, 44.91, -26.47) |
| CIE-LCH | lch(33.34, 52.14, 329.48°) |
| OKLab | oklab(44.43% 0.1272 -0.0728) |
| OKLCH | oklch(44.43% 0.147 330.2) |
| XYZ | xyz(12.9937, 7.6938, 18.8861) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.02
Warm Purple
#952E8F
ΔE00 5.19
Purple
#800080
ΔE00 5.43
Darkmagenta
#8B008B
ΔE00 5.67
Bruise
#7E4071
ΔE00 5.80
Light Eggplant
#894585
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2D79 #2D7E32
analogous
#5A2D7E #7E2D79 #7E2D50
triadic
#7E2D79 #797E2D #2D797E
tetradic
#7E2D79 #7E5A2D #2D7E32 #2D507E
square
#7E2D79 #7E5A2D #2D7E32 #2D507E
split-complementary
#7E2D79 #507E2D #2D7E5A
monochromatic
#240D22 #511D4E #7E2D79 #AB3DA4 #C65FC0
Accessibility & contrast
On white
8.27
#7E2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#7E2D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2D79
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2D79 | 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)
#27477B
Deuteranopia (green-blind)
#435277
Tritanopia (blue-blind)
#83364F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7e2d79; /* rgb */ color: rgb(126, 45, 121); /* oklch */ color: oklch(44.4% 0.147 330.2);
Tailwind
colors: {
custom: {
50: '#a66ca0',
500: '#7e2d79',
950: '#000000',
},
}SCSS
$custom: #7e2d79; $custom-light: #a66ca0; $custom-dark: #000000;
JSON
{
"hex": "#7e2d79",
"rgb": {
"r": 126,
"g": 45,
"b": 121
},
"hsl": {
"h": 303.704,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.4443,
"c": 0.14655,
"h": 330.2
},
"luminance": 0.07693
}Semantic roles & 50–950 ramp
primary
#7E2D79
secondary
#5AAC5F
accent
#D75951
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E