#7E306D
Closest named color: Light Eggplant (#894585). oklch(44.2% 0.132 337), rgb(126, 48, 109).
Aa
White text reads best on this color (8.29:1).
About this color
#7E306D is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.132 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.060 away. White text reads best on it, at 8.29:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | moderately saturated (0.132) |
| Temperature | warm |
| Nearest name | Light Eggplant (#894585) |
| Black text | 2.53:1 |
| White text | 8.29:1 |
Values
| HEX | #7E306D |
| RGB | rgb(126, 48, 109) |
| HSL | hsl(313, 45%, 34%) |
| OKLCH | oklch(44.2% 0.132 337) |
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 #7E306D | 8.29:1 | AAA | Lc -92.7 | Preferred for body text |
| Black text on #7E306D | 2.53:1 | Fails | Lc 16.0 | Dividers and decoration only |
| #7E306D text on white | 8.29:1 | AAA | Lc 88.0 | Fine for body text |
| #7E306D text on black | 2.53:1 | Fails | Lc -14.1 | 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
#F4E4EF
oklch(93.5% 0.023 336.8)
-
Step 200
200
#EDCFE4
oklch(88.6% 0.043 336.8)
-
Step 300
300
#E2AED3
oklch(80.9% 0.077 337.1)
-
Step 400
400
#D181BC
oklch(70.6% 0.124 337.2)
-
Step 500
500
#C35FAC
oklch(63.1% 0.158 336.8)
-
Step 600
600
#AE4297
oklch(55.5% 0.172 336.9)
-
Step 700
700
#953381
oklch(49% 0.159 336.8)
-
Step 800
800 (this color)
#7E306D
oklch(44.2% 0.132 337)
-
Step 900
900
#622855
oklch(37.6% 0.103 336.9)
-
Step 950
950
#3A1832
oklch(27% 0.066 337)
#7E306D 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) | #32476F | 0.139 |
| Deuteranopia (no green cones) | #49536B | 0.124 |
| Tritanopia (no blue cones) | #84344A | 0.064 |
| Achromatopsia (no color) | #4E4E4E | 0.133 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E306D
#7E306D
oklch(44.2% 0.132 337)
- #00643A
#00643A
oklch(44.3% 0.106 156.6)
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 #7E306D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.060
- Mulberry #920A4E ΔE 0.069
- Purple #800080 ΔE 0.069
- Warm Purple #952E8F ΔE 0.070
- Velvet #750851 ΔE 0.072
- Red Purple #820747 ΔE 0.073
- Red Violet #9E0168 ΔE 0.073
- Dark Fuchsia #9D0759 ΔE 0.074
Use #7E306D 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.