#7E4CE8
Closest named color: Purpley (#8756E4). oklch(56.1% 0.222 292.5), rgb(126, 76, 232).
Aa
White text reads best on this color (5.13:1).
About this color
#7E4CE8 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.222 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.028 away. White text reads best on it, at 5.13:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.222) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.08:1 |
| White text | 5.13:1 |
Values
| HEX | #7E4CE8 |
| RGB | rgb(126, 76, 232) |
| HSL | hsl(259, 77%, 60%) |
| OKLCH | oklch(56.1% 0.222 292.5) |
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 #7E4CE8 | 5.13:1 | AA | Lc -80.2 | Fine for body text |
| Black text on #7E4CE8 | 4.08:1 | AA large text | Lc 29.3 | Dividers and decoration only |
| #7E4CE8 text on white | 5.13:1 | AA | Lc 74.8 | Content text, not long reading |
| #7E4CE8 text on black | 4.08:1 | AA large text | Lc -26.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 600.
-
Step 50
50
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#EAE7FC
oklch(93.7% 0.028 292.4)
-
Step 200
200
#D9D3FB
oklch(88.4% 0.055 292.1)
-
Step 300
300
#C2B5FC
oklch(80.9% 0.1 292.4)
-
Step 400
400
#A58BFA
oklch(70.7% 0.159 292.6)
-
Step 500
500
#9169F8
oklch(63.2% 0.204 292.5)
-
Step 600
600 (this color)
#7E4CE8
oklch(56.1% 0.222 292.5)
-
Step 700
700
#6A3AC8
oklch(49.1% 0.206 292.6)
-
Step 800
800
#5631A2
oklch(42.7% 0.172 292.6)
-
Step 900
900
#462E80
oklch(37.7% 0.132 292.4)
-
Step 950
950
#291C4B
oklch(27.1% 0.084 292.7)
#7E4CE8 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) | #0070ED | 0.129 |
| Deuteranopia (no green cones) | #006AE5 | 0.128 |
| Tritanopia (no blue cones) | #5E7394 | 0.177 |
| Achromatopsia (no color) | #6D6D6D | 0.223 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E4CE8
#7E4CE8
oklch(56.1% 0.222 292.5)
- #767B00
#767B00
oklch(56% 0.124 112.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 #7E4CE8, closest first.
No curated palette has a color within ΔE 0.04 of #7E4CE8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.028
- Blue Violet #8A2BE2 ΔE 0.053
- Light Indigo #6D5ACF ΔE 0.054
- Medium Slate Blue #7B68EE ΔE 0.058
- Slate Blue #6A5ACD ΔE 0.058
- Burple #6832E3 ΔE 0.063
- Dark Periwinkle #665FD1 ΔE 0.063
- Purpley Blue #5F34E7 ΔE 0.072
Use #7E4CE8 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.