#7E2D73#7E2D73
#7E2D73 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.141 H 333.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2D73 |
|---|---|
| RGB | rgb(126, 45, 115) |
| HSL | hsl(308, 47%, 34%) |
| HSV | hsv(308, 64%, 49%) |
| CMYK | cmyk(0%, 64.3%, 8.7%, 50.6%) |
| CIE-LAB | lab(33.03, 43.86, -23.18) |
| CIE-LCH | lch(33.03, 49.61, 332.15°) |
| OKLab | oklab(44.11% 0.1265 -0.0633) |
| OKLCH | oklch(44.11% 0.141 333.4) |
| XYZ | xyz(12.6371, 7.5512, 17.0083) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.48
Bruise
#7E4071
ΔE00 5.03
Grape
#6C3461
ΔE00 5.36
Warm Purple
#952E8F
ΔE00 5.98
Light Eggplant
#894585
ΔE00 6.24
Purple
#800080
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2D73 #2D7E38
analogous
#602D7E #7E2D73 #7E2D4A
triadic
#7E2D73 #737E2D #2D737E
tetradic
#7E2D73 #7E602D #2D7E38 #2D4A7E
square
#7E2D73 #7E602D #2D7E38 #2D4A7E
split-complementary
#7E2D73 #4A7E2D #2D7E60
monochromatic
#240D21 #511D4A #7E2D73 #AB3D9C #C65FB8
Accessibility & contrast
On white
8.37
#7E2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#7E2D73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2D73
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2D73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2D73 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#84334B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7e2d73; /* rgb */ color: rgb(126, 45, 115); /* oklch */ color: oklch(44.1% 0.141 333.4);
Tailwind
colors: {
custom: {
50: '#a66c9b',
500: '#7e2d73',
950: '#000000',
},
}SCSS
$custom: #7e2d73; $custom-light: #a66c9b; $custom-dark: #000000;
JSON
{
"hex": "#7e2d73",
"rgb": {
"r": 126,
"g": 45,
"b": 115
},
"hsl": {
"h": 308.148,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.44107,
"c": 0.14144,
"h": 333.4
},
"luminance": 0.0755
}Semantic roles & 50–950 ramp
primary
#7E2D73
secondary
#5AAC66
accent
#D76351
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E