#8C5CF8
Closest named color: Purpley (#8756E4). oklch(60.8% 0.221 292.8), rgb(140, 92, 248).
Aa
Black text reads best on this color (5.00:1).
About this color
#8C5CF8 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.221 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.033 away. Black text reads best on it, at 5.00:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.221) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 5.00:1 |
| White text | 4.19:1 |
Values
| HEX | #8C5CF8 |
| RGB | rgb(140, 92, 248) |
| HSL | hsl(258, 92%, 67%) |
| OKLCH | oklch(60.8% 0.221 292.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 #8C5CF8 | 4.19:1 | AA large text | Lc -73.9 | Content text, not long reading |
| Black text on #8C5CF8 | 5.00:1 | AA | Lc 35.7 | Non-text elements, placeholder text |
| #8C5CF8 text on white | 4.19:1 | AA large text | Lc 68.4 | Content text, not long reading |
| #8C5CF8 text on black | 5.00:1 | AA | Lc -33.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 500.
-
Step 50
50
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#EAE6FE
oklch(93.5% 0.032 293.4)
-
Step 200
200
#DAD2FE
oklch(88.4% 0.061 293.5)
-
Step 300
300
#C3B4FF
oklch(80.9% 0.105 293.1)
-
Step 400
400
#A689FF
oklch(70.7% 0.169 292.9)
-
Step 500
500 (this color)
#8C5CF8
oklch(60.8% 0.221 292.8)
-
Step 600
600
#7F43EF
oklch(55.6% 0.24 292.8)
-
Step 700
700
#6C32D0
oklch(49.1% 0.223 293)
-
Step 800
800
#572CA8
oklch(42.6% 0.185 292.6)
-
Step 900
900
#472A85
oklch(37.6% 0.144 292.8)
-
Step 950
950
#291A4E
oklch(26.9% 0.091 292.5)
#8C5CF8 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) | #007EFD | 0.136 |
| Deuteranopia (no green cones) | #0079F5 | 0.135 |
| Tritanopia (no blue cones) | #6D80A2 | 0.175 |
| Achromatopsia (no color) | #7C7C7C | 0.222 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8C5CF8
#8C5CF8
oklch(60.8% 0.221 292.8)
- #848A00
#848A00
oklch(60.8% 0.135 112.8)
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 #8C5CF8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.033
- Medium Slate Blue #7B68EE ΔE 0.038
- Lighter Purple #A55AF4 ΔE 0.044
- Medium Purple #9370DB ΔE 0.067
- Cornflower #6A79F7 ΔE 0.076
- Light Indigo #6D5ACF ΔE 0.080
- Light Urple #B36FF6 ΔE 0.082
- Dark Periwinkle #665FD1 ΔE 0.084
Use #8C5CF8 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.