#7B4FA2
Closest named color: Light Eggplant (#894585). oklch(51.3% 0.133 306.8), rgb(123, 79, 162).
Aa
White text reads best on this color (6.03:1).
About this color
#7B4FA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.133 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.053 away. White text reads best on it, at 6.03:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | moderately saturated (0.133) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 3.48:1 |
| White text | 6.03:1 |
Values
| HEX | #7B4FA2 |
| RGB | rgb(123, 79, 162) |
| HSL | hsl(272, 34%, 47%) |
| OKLCH | oklch(51.3% 0.133 306.8) |
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 #7B4FA2 | 6.03:1 | AA | Lc -85.1 | Fine for body text |
| Black text on #7B4FA2 | 3.48:1 | AA large text | Lc 24.2 | Dividers and decoration only |
| #7B4FA2 text on white | 6.03:1 | AA | Lc 79.9 | Fine for body text |
| #7B4FA2 text on black | 3.48:1 | AA large text | Lc -21.9 | Dividers and decoration only |
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 700.
-
Step 50
50
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EDE7F4
oklch(93.6% 0.018 306.7)
-
Step 200
200
#DFD3EC
oklch(88.4% 0.036 307.2)
-
Step 300
300
#CBB6E2
oklch(80.8% 0.065 306.6)
-
Step 400
400
#B18FD3
oklch(70.6% 0.103 306.8)
-
Step 500
500
#9E72C7
oklch(63% 0.132 306.9)
-
Step 600
600
#8959B4
oklch(55.6% 0.143 306.7)
-
Step 700
700 (this color)
#7B4FA2
oklch(51.3% 0.133 306.8)
-
Step 800
800
#5F3C7E
oklch(42.8% 0.111 306.8)
-
Step 900
900
#4D3465
oklch(37.7% 0.086 306.3)
-
Step 950
950
#2D1F3B
oklch(27% 0.054 306.2)
#7B4FA2 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) | #3761A5 | 0.103 |
| Deuteranopia (no green cones) | #4463A0 | 0.093 |
| Tritanopia (no blue cones) | #755D71 | 0.096 |
| Achromatopsia (no color) | #636363 | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B4FA2
#7B4FA2
oklch(51.3% 0.133 306.8)
- #537400
#537400
oklch(51.4% 0.132 126.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 #7B4FA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.053
- Deep Lavender #8D5EB7 ΔE 0.057
- Muted Purple #805B87 ΔE 0.060
- Purply #983FB2 ΔE 0.066
- Iris #6258C4 ΔE 0.068
- Dusty Purple #825F87 ΔE 0.069
- Dark Lavender #856798 ΔE 0.072
- Dull Purple #84597E ΔE 0.072
Use #7B4FA2 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.