#7E5FFE
Closest named color: Medium Slate Blue (#7B68EE). oklch(60.4% 0.225 286.5), rgb(126, 95, 254).
Aa
Black text reads best on this color (4.95:1).
About this color
#7E5FFE is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.225 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.031 away. Black text reads best on it, at 4.95:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.225) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 4.95:1 |
| White text | 4.23:1 |
Values
| HEX | #7E5FFE |
| RGB | rgb(126, 95, 254) |
| HSL | hsl(252, 99%, 68%) |
| OKLCH | oklch(60.4% 0.225 286.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 #7E5FFE | 4.23:1 | AA large text | Lc -74.2 | Content text, not long reading |
| Black text on #7E5FFE | 4.95:1 | AA | Lc 35.3 | Non-text elements, placeholder text |
| #7E5FFE text on white | 4.23:1 | AA large text | Lc 68.7 | Content text, not long reading |
| #7E5FFE text on black | 4.95:1 | AA | Lc -32.9 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F4F4FF
oklch(97% 0.015 286.1)
-
Step 100
100
#E8E7FF
oklch(93.6% 0.032 287.7)
-
Step 200
200
#D5D4FF
oklch(88.5% 0.059 286.2)
-
Step 300
300
#BBB7FF
oklch(80.9% 0.101 286.5)
-
Step 400
400
#9B8EFF
oklch(70.7% 0.161 286.8)
-
Step 500
500 (this color)
#7E5FFE
oklch(60.4% 0.225 286.5)
-
Step 600
600
#7247F7
oklch(55.5% 0.245 286.6)
-
Step 700
700
#6036D7
oklch(49% 0.227 286.5)
-
Step 800
800
#4E2FAE
oklch(42.7% 0.189 286.6)
-
Step 900
900
#402D8A
oklch(37.8% 0.147 286.5)
-
Step 950
950
#251C51
oklch(27.1% 0.093 286.2)
#7E5FFE 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) | #007FFF | 0.115 |
| Deuteranopia (no green cones) | #0076FB | 0.111 |
| Tritanopia (no blue cones) | #4E85A6 | 0.186 |
| Achromatopsia (no color) | #7B7B7B | 0.226 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E5FFE
#7E5FFE
oklch(60.4% 0.225 286.5)
- #8C8600
#8C8600
oklch(60.6% 0.13 106.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 #7E5FFE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.031
- Purpley #8756E4 ΔE 0.045
- Cornflower #6A79F7 ΔE 0.062
- Lighter Purple #A55AF4 ΔE 0.068
- Light Indigo #6D5ACF ΔE 0.077
- Dark Periwinkle #665FD1 ΔE 0.077
- Medium Purple #9370DB ΔE 0.078
- Slate Blue #6A5ACD ΔE 0.081
Use #7E5FFE 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.