#8A5CEC
Closest named color: Purpley (#8756E4). oklch(59.8% 0.207 293.9), rgb(138, 92, 236).
Aa
Black text reads best on this color (4.82:1).
About this color
#8A5CEC is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.207 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.018 away. Black text reads best on it, at 4.82:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.207) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.82:1 |
| White text | 4.35:1 |
Values
| HEX | #8A5CEC |
| RGB | rgb(138, 92, 236) |
| HSL | hsl(259, 79%, 64%) |
| OKLCH | oklch(59.8% 0.207 293.9) |
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 #8A5CEC | 4.35:1 | AA large text | Lc -75.2 | Fine for body text |
| Black text on #8A5CEC | 4.82:1 | AA | Lc 34.4 | Non-text elements, placeholder text |
| #8A5CEC text on white | 4.35:1 | AA large text | Lc 69.7 | Content text, not long reading |
| #8A5CEC text on black | 4.82:1 | AA | Lc -32.0 | 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
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EAE7FC
oklch(93.7% 0.028 292.4)
-
Step 200
200
#DAD3FC
oklch(88.5% 0.056 293)
-
Step 300
300
#C4B4FC
oklch(80.9% 0.101 294.2)
-
Step 400
400
#A78AFB
oklch(70.8% 0.162 293.7)
-
Step 500
500 (this color)
#8A5CEC
oklch(59.8% 0.207 293.9)
-
Step 600
600
#8048E7
oklch(55.7% 0.226 293.9)
-
Step 700
700
#6C37C8
oklch(49% 0.209 293.9)
-
Step 800
800
#5830A2
oklch(42.7% 0.173 293.9)
-
Step 900
900
#482C81
oklch(37.7% 0.136 294)
-
Step 950
950
#2A1B4B
oklch(27% 0.085 294.4)
#8A5CEC 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) | #007BF1 | 0.134 |
| Deuteranopia (no green cones) | #0077E9 | 0.134 |
| Tritanopia (no blue cones) | #707D9B | 0.166 |
| Achromatopsia (no color) | #797979 | 0.208 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A5CEC
#8A5CEC
oklch(59.8% 0.207 293.9)
- #7F8700
#7F8700
oklch(59.6% 0.134 113.9)
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 #8A5CEC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.018
- Medium Slate Blue #7B68EE ΔE 0.033
- Lighter Purple #A55AF4 ΔE 0.048
- Medium Purple #9370DB ΔE 0.058
- Light Indigo #6D5ACF ΔE 0.065
- Dark Periwinkle #665FD1 ΔE 0.070
- Slate Blue #6A5ACD ΔE 0.070
- Amethyst #9B5FC0 ΔE 0.075
Use #8A5CEC 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.