#7D2E7D#7D2E7D
#7D2E7D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.148 H 327.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2E7D |
|---|---|
| RGB | rgb(125, 46, 125) |
| HSL | hsl(300, 46%, 34%) |
| HSV | hsv(300, 63%, 49%) |
| CMYK | cmyk(0%, 63.2%, 0%, 51%) |
| CIE-LAB | lab(33.55, 44.92, -28.65) |
| CIE-LCH | lch(33.55, 53.28, 327.47°) |
| OKLab | oklab(44.63% 0.1251 -0.0791) |
| OKLCH | oklch(44.63% 0.148 327.7) |
| XYZ | xyz(13.1359, 7.7955, 20.2109) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.07
Warm Purple
#952E8F
ΔE00 4.96
Purple
#800080
ΔE00 5.21
Darkmagenta
#8B008B
ΔE00 5.33
Light Eggplant
#894585
ΔE00 6.07
Bruise
#7E4071
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2E7D #2E7D2E
analogous
#552E7D #7D2E7D #7D2E55
triadic
#7D2E7D #7D7D2E #2E7D7D
tetradic
#7D2E7D #7D552E #2E7D2E #2E557D
square
#7D2E7D #7D552E #2E7D2E #2E557D
split-complementary
#7D2E7D #557D2E #2E7D55
monochromatic
#240D24 #501E50 #7D2E7D #AA3EAA #C561C5
Accessibility & contrast
On white
8.21
#7D2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#7D2E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D2E7D
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2E7D | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#41537B
Tritanopia (blue-blind)
#813851
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #7d2e7d; /* rgb */ color: rgb(125, 46, 125); /* oklch */ color: oklch(44.6% 0.148 327.7);
Tailwind
colors: {
custom: {
50: '#a56da3',
500: '#7d2e7d',
950: '#000000',
},
}SCSS
$custom: #7d2e7d; $custom-light: #a56da3; $custom-dark: #000000;
JSON
{
"hex": "#7d2e7d",
"rgb": {
"r": 125,
"g": 46,
"b": 125
},
"hsl": {
"h": 300,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.44625,
"c": 0.14799,
"h": 327.7
},
"luminance": 0.07795
}Semantic roles & 50–950 ramp
primary
#7D2E7D
secondary
#5BAB5B
accent
#D65252
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F