#7E2D72#7E2D72
#7E2D72 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.141 H 334.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2D72 |
|---|---|
| RGB | rgb(126, 45, 114) |
| HSL | hsl(309, 47%, 34%) |
| HSV | hsv(309, 64%, 49%) |
| CMYK | cmyk(0%, 64.3%, 9.5%, 50.6%) |
| CIE-LAB | lab(32.98, 43.69, -22.62) |
| CIE-LCH | lch(32.98, 49.20, 332.62°) |
| OKLab | oklab(44.05% 0.1263 -0.0617) |
| OKLCH | oklch(44.05% 0.141 334) |
| XYZ | xyz(12.5799, 7.5283, 16.7069) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.60
Bruise
#7E4071
ΔE00 4.92
Grape
#6C3461
ΔE00 5.21
Warm Purple
#952E8F
ΔE00 6.14
Light Eggplant
#894585
ΔE00 6.29
Purple
#800080
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2D72 #2D7E39
analogous
#612D7E #7E2D72 #7E2D49
triadic
#7E2D72 #727E2D #2D727E
tetradic
#7E2D72 #7E612D #2D7E39 #2D497E
square
#7E2D72 #7E612D #2D7E39 #2D497E
split-complementary
#7E2D72 #497E2D #2D7E61
monochromatic
#240D20 #511D49 #7E2D72 #AB3D9B #C65FB7
Accessibility & contrast
On white
8.38
#7E2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#7E2D72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2D72
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2D72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2D72 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4674
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#84334B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7e2d72; /* rgb */ color: rgb(126, 45, 114); /* oklch */ color: oklch(44.1% 0.141 334.0);
Tailwind
colors: {
custom: {
50: '#a66c9b',
500: '#7e2d72',
950: '#000000',
},
}SCSS
$custom: #7e2d72; $custom-light: #a66c9b; $custom-dark: #000000;
JSON
{
"hex": "#7e2d72",
"rgb": {
"r": 126,
"g": 45,
"b": 114
},
"hsl": {
"h": 308.889,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.44054,
"c": 0.14061,
"h": 334
},
"luminance": 0.07527
}Semantic roles & 50–950 ramp
primary
#7E2D72
secondary
#5AAC67
accent
#D76551
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E