#7A5CEC
Closest named color: Medium Slate Blue (#7B68EE). oklch(58.3% 0.207 287.8), rgb(122, 92, 236).
Aa
White text reads best on this color (4.59:1).
About this color
#7A5CEC is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.207 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.026 away. White text reads best on it, at 4.59:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.207) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 4.56:1 |
| White text | 4.59:1 |
Values
| HEX | #7A5CEC |
| RGB | rgb(122, 92, 236) |
| HSL | hsl(252, 79%, 64%) |
| OKLCH | oklch(58.3% 0.207 287.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 #7A5CEC | 4.59:1 | AA | Lc -76.9 | Fine for body text |
| Black text on #7A5CEC | 4.56:1 | AA | Lc 32.6 | Non-text elements, placeholder text |
| #7A5CEC text on white | 4.59:1 | AA | Lc 71.5 | Content text, not long reading |
| #7A5CEC text on black | 4.56:1 | AA | Lc -30.2 | 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 600.
-
Step 50
50
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#E8E7FB
oklch(93.5% 0.027 288.2)
-
Step 200
200
#D7D4FA
oklch(88.4% 0.052 288.9)
-
Step 300
300
#BDB8FA
oklch(81% 0.093 287.6)
-
Step 400
400
#9D8FF7
oklch(70.6% 0.149 288.1)
-
Step 500
500
#8770F4
oklch(63.2% 0.19 287.7)
-
Step 600
600 (this color)
#7A5CEC
oklch(58.3% 0.207 287.8)
-
Step 700
700
#6142C5
oklch(49.1% 0.193 288)
-
Step 800
800
#4E389F
oklch(42.7% 0.159 287.5)
-
Step 900
900
#41327E
oklch(37.8% 0.123 288.1)
-
Step 950
950
#251E4A
oklch(27% 0.079 287.2)
#7A5CEC 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) | #0079F1 | 0.112 |
| Deuteranopia (no green cones) | #0071E9 | 0.110 |
| Tritanopia (no blue cones) | #537E9B | 0.172 |
| Achromatopsia (no color) | #757575 | 0.208 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7A5CEC
#7A5CEC
oklch(58.3% 0.207 287.8)
- #838000
#838000
oklch(58.3% 0.126 108.1)
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 #7A5CEC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.026
- Purpley #8756E4 ΔE 0.027
- Light Indigo #6D5ACF ΔE 0.049
- Dark Periwinkle #665FD1 ΔE 0.052
- Slate Blue #6A5ACD ΔE 0.054
- Cornflower #6A79F7 ΔE 0.067
- Medium Purple #9370DB ΔE 0.072
- Iris #6258C4 ΔE 0.073
Use #7A5CEC 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.