#8B5ECC
Closest named color: Deep Lavender (#8D5EB7). oklch(58% 0.165 300.2), rgb(139, 94, 204).
Aa
White text reads best on this color (4.59:1).
About this color
#8B5ECC is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.165 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.033 away. White text reads best on it, at 4.59:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.57:1 |
| White text | 4.59:1 |
Values
| HEX | #8B5ECC |
| RGB | rgb(139, 94, 204) |
| HSL | hsl(265, 52%, 58%) |
| OKLCH | oklch(58% 0.165 300.2) |
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 #8B5ECC | 4.59:1 | AA | Lc -77.1 | Fine for body text |
| Black text on #8B5ECC | 4.57:1 | AA | Lc 32.5 | Non-text elements, placeholder text |
| #8B5ECC text on white | 4.59:1 | AA | Lc 71.6 | Content text, not long reading |
| #8B5ECC text on black | 4.57:1 | AA | Lc -30.1 | 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
#F6F4FB
oklch(97.1% 0.009 299.2)
-
Step 100
100
#ECE7F7
oklch(93.7% 0.022 300.2)
-
Step 200
200
#DDD3F1
oklch(88.4% 0.042 300.7)
-
Step 300
300
#C8B6EA
oklch(80.9% 0.075 300.6)
-
Step 400
400
#AC8FE0
oklch(70.7% 0.119 299.8)
-
Step 500
500
#9971D7
oklch(63.2% 0.152 300.2)
-
Step 600
600 (this color)
#8B5ECC
oklch(58% 0.165 300.2)
-
Step 700
700
#7046A9
oklch(49.1% 0.154 300.4)
-
Step 800
800
#5B3A89
oklch(42.7% 0.128 300.3)
-
Step 900
900
#4A336E
oklch(37.7% 0.099 299.6)
-
Step 950
950
#2B1E40
oklch(26.9% 0.063 299.8)
#8B5ECC 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) | #3375D0 | 0.118 |
| Deuteranopia (no green cones) | #4174C9 | 0.109 |
| Tritanopia (no blue cones) | #7E748C | 0.128 |
| Achromatopsia (no color) | #757575 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8B5ECC
#8B5ECC
oklch(58% 0.165 300.2)
- #708500
#708500
oklch(57.9% 0.138 120.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 #8B5ECC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.033
- Amethyst #9B5FC0 ΔE 0.034
- Purpley #8756E4 ΔE 0.043
- Medium Purple #9370DB ΔE 0.048
- Light Indigo #6D5ACF ΔE 0.052
- Deep Lilac #966EBD ΔE 0.054
- Slate Blue #6A5ACD ΔE 0.057
- Medium Slate Blue #7B68EE ΔE 0.059
Use #8B5ECC 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.