#7D336B
Closest named color: Light Eggplant (#894585). oklch(44.3% 0.125 338), rgb(125, 51, 107).
Aa
White text reads best on this color (8.21:1).
About this color
#7D336B is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.125 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.059 away. White text reads best on it, at 8.21:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | moderately saturated (0.125) |
| Temperature | warm |
| Nearest name | Light Eggplant (#894585) |
| Black text | 2.55:1 |
| White text | 8.21:1 |
Values
| HEX | #7D336B |
| RGB | rgb(125, 51, 107) |
| HSL | hsl(315, 42%, 35%) |
| OKLCH | oklch(44.3% 0.125 338) |
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 #7D336B | 8.21:1 | AAA | Lc -92.5 | Preferred for body text |
| Black text on #7D336B | 2.55:1 | Fails | Lc 16.2 | Dividers and decoration only |
| #7D336B text on white | 8.21:1 | AAA | Lc 87.8 | Fine for body text |
| #7D336B text on black | 2.55: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
#F4E5EF
oklch(93.7% 0.021 337.7)
-
Step 200
200
#ECCFE3
oklch(88.5% 0.042 337.2)
-
Step 300
300
#E0AFD1
oklch(80.9% 0.072 337.7)
-
Step 400
400
#CF83BA
oklch(70.6% 0.117 337.7)
-
Step 500
500
#C162A8
oklch(63.1% 0.148 338.2)
-
Step 600
600
#AC4694
oklch(55.6% 0.162 337.7)
-
Step 700
700
#94377E
oklch(49.2% 0.151 338.1)
-
Step 800
800 (this color)
#7D336B
oklch(44.3% 0.125 338)
-
Step 900
900
#612A53
oklch(37.7% 0.097 338.1)
-
Step 950
950
#391931
oklch(26.9% 0.062 337.5)
#7D336B 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) | #35486D | 0.132 |
| Deuteranopia (no green cones) | #4B5369 | 0.116 |
| Tritanopia (no blue cones) | #83364A | 0.059 |
| Achromatopsia (no color) | #4F4F4F | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7D336B
#7D336B
oklch(44.3% 0.125 338)
- #00643C
#00643C
oklch(44.3% 0.104 157.7)
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 #7D336B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.059
- Brownish Purple #76424E ΔE 0.069
- Mulberry #920A4E ΔE 0.071
- Dark Mauve #874C62 ΔE 0.072
- Red Purple #820747 ΔE 0.074
- Warm Purple #952E8F ΔE 0.075
- Velvet #750851 ΔE 0.075
- Dark Fuchsia #9D0759 ΔE 0.077
Use #7D336B 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.