#8B5CF2
Closest named color: Purpley (#8756E4). oklch(60.3% 0.214 293.3), rgb(139, 92, 242).
Aa
Black text reads best on this color (4.91:1).
About this color
#8B5CF2 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.214 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.025 away. Black text reads best on it, at 4.91:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.214) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.91:1 |
| White text | 4.27:1 |
Values
| HEX | #8B5CF2 |
| RGB | rgb(139, 92, 242) |
| HSL | hsl(259, 85%, 65%) |
| OKLCH | oklch(60.3% 0.214 293.3) |
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 #8B5CF2 | 4.27:1 | AA large text | Lc -74.6 | Content text, not long reading |
| Black text on #8B5CF2 | 4.91:1 | AA | Lc 35.0 | Non-text elements, placeholder text |
| #8B5CF2 text on white | 4.27:1 | AA large text | Lc 69.1 | Content text, not long reading |
| #8B5CF2 text on black | 4.91:1 | AA | Lc -32.6 | 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
#EAE7FD
oklch(93.7% 0.03 292.1)
-
Step 200
200
#DAD3FD
oklch(88.6% 0.058 292.8)
-
Step 300
300
#C3B4FE
oklch(80.9% 0.104 293.2)
-
Step 400
400
#A789FE
oklch(70.8% 0.167 293.5)
-
Step 500
500 (this color)
#8B5CF2
oklch(60.3% 0.214 293.3)
-
Step 600
600
#7F45EB
oklch(55.5% 0.233 293.2)
-
Step 700
700
#6C35CC
oklch(49.1% 0.216 293.4)
-
Step 800
800
#582EA5
oklch(42.7% 0.179 293.5)
-
Step 900
900
#482B83
oklch(37.7% 0.14 293.7)
-
Step 950
950
#2A1B4D
oklch(27.1% 0.088 293.5)
#8B5CF2 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) | #007CF7 | 0.134 |
| Deuteranopia (no green cones) | #0078EF | 0.134 |
| Tritanopia (no blue cones) | #6E7F9F | 0.171 |
| Achromatopsia (no color) | #7A7A7A | 0.215 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8B5CF2
#8B5CF2
oklch(60.3% 0.214 293.3)
- #828900
#828900
oklch(60.4% 0.135 113.3)
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 #8B5CF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.025
- Medium Slate Blue #7B68EE ΔE 0.035
- Lighter Purple #A55AF4 ΔE 0.045
- Medium Purple #9370DB ΔE 0.062
- Light Indigo #6D5ACF ΔE 0.072
- Cornflower #6A79F7 ΔE 0.075
- Dark Periwinkle #665FD1 ΔE 0.077
- Slate Blue #6A5ACD ΔE 0.078
Use #8B5CF2 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.