#7E3071
Closest named color: Light Eggplant (#894585). oklch(44.4% 0.135 334.6), rgb(126, 48, 113).
Aa
White text reads best on this color (8.24:1).
About this color
#7E3071 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.135 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.057 away. White text reads best on it, at 8.24:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 2.54:1 |
| White text | 8.24:1 |
Values
| HEX | #7E3071 |
| RGB | rgb(126, 48, 113) |
| HSL | hsl(310, 45%, 34%) |
| OKLCH | oklch(44.4% 0.135 334.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7E3071 | 8.24:1 | AAA | Lc -92.5 | Preferred for body text |
| Black text on #7E3071 | 2.54:1 | Fails | Lc 16.1 | Dividers and decoration only |
| #7E3071 text on white | 8.24:1 | AAA | Lc 87.9 | Fine for body text |
| #7E3071 text on black | 2.54:1 | Fails | Lc -14.3 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.
-
Step 50
50
#FAF3F8
oklch(97.1% 0.01 335.5)
-
Step 100
100
#F4E4F0
oklch(93.5% 0.023 334.3)
-
Step 200
200
#ECCFE5
oklch(88.5% 0.043 334.3)
-
Step 300
300
#E1AED5
oklch(80.9% 0.078 334.8)
-
Step 400
400
#D081C0
oklch(70.6% 0.126 334.6)
-
Step 500
500
#C25EB0
oklch(63% 0.162 334.6)
-
Step 600
600
#AD429C
oklch(55.6% 0.175 334.4)
-
Step 700
700
#953285
oklch(49.1% 0.164 334.8)
-
Step 800
800 (this color)
#7E3071
oklch(44.4% 0.135 334.6)
-
Step 900
900
#622858
oklch(37.8% 0.106 334.6)
-
Step 950
950
#391833
oklch(26.9% 0.066 334.6)
#7E3071 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #304773 | 0.141 |
| Deuteranopia (no green cones) | #48536F | 0.124 |
| Tritanopia (no blue cones) | #84354C | 0.068 |
| Achromatopsia (no color) | #4F4F4F | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E3071
#7E3071
oklch(44.4% 0.135 334.6)
- #006537
#006537
oklch(44.5% 0.111 154.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7E3071, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.057
- Purple #800080 ΔE 0.065
- Warm Purple #952E8F ΔE 0.065
- Dark Magenta #8B008B ΔE 0.073
- Red Violet #9E0168 ΔE 0.073
- Mulberry #920A4E ΔE 0.074
- Velvet #750851 ΔE 0.075
- Dark Fuchsia #9D0759 ΔE 0.077
Use #7E3071 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.