#7E4EB3
Closest named color: Deep Lavender (#8D5EB7). oklch(52.5% 0.157 303.4), rgb(126, 78, 179).
Aa
White text reads best on this color (5.78:1).
About this color
#7E4EB3 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.157 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.048 away. White text reads best on it, at 5.78:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 3.62:1 |
| White text | 5.78:1 |
Values
| HEX | #7E4EB3 |
| RGB | rgb(126, 78, 179) |
| HSL | hsl(269, 40%, 50%) |
| OKLCH | oklch(52.5% 0.157 303.4) |
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 #7E4EB3 | 5.78:1 | AA | Lc -83.9 | Fine for body text |
| Black text on #7E4EB3 | 3.62:1 | AA large text | Lc 25.4 | Dividers and decoration only |
| #7E4EB3 text on white | 5.78:1 | AA | Lc 78.6 | Fine for body text |
| #7E4EB3 text on black | 3.62:1 | AA large text | Lc -23.2 | 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 600.
-
Step 50
50
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#ECE7F5
oklch(93.6% 0.019 302.2)
-
Step 200
200
#DED3EF
oklch(88.4% 0.04 303.4)
-
Step 300
300
#CAB6E7
oklch(80.9% 0.071 303.4)
-
Step 400
400
#AF8FDA
oklch(70.7% 0.112 303.3)
-
Step 500
500
#9C71D0
oklch(63.1% 0.144 303.4)
-
Step 600
600 (this color)
#7E4EB3
oklch(52.5% 0.157 303.4)
-
Step 700
700
#7347A3
oklch(49.2% 0.145 303.6)
-
Step 800
800
#5D3B84
oklch(42.7% 0.12 303.2)
-
Step 900
900
#4C336A
oklch(37.7% 0.094 303.2)
-
Step 950
950
#2D1E3E
oklch(27% 0.06 304.3)
#7E4EB3 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) | #2664B6 | 0.121 |
| Deuteranopia (no green cones) | #3865B1 | 0.109 |
| Tritanopia (no blue cones) | #746279 | 0.117 |
| Achromatopsia (no color) | #656565 | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E4EB3
#7E4EB3
oklch(52.5% 0.157 303.4)
- #5C7600
#5C7600
oklch(52.6% 0.13 123.5)
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 #7E4EB3, closest first.
No curated palette has a color within ΔE 0.04 of #7E4EB3.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.048
- Purply #983FB2 ΔE 0.054
- Light Indigo #6D5ACF ΔE 0.055
- Iris #6258C4 ΔE 0.056
- Slate Blue #6A5ACD ΔE 0.056
- Dark Periwinkle #665FD1 ΔE 0.067
- Bluey Purple #6241C7 ΔE 0.069
- Amethyst #9B5FC0 ΔE 0.070
Use #7E4EB3 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.