#8D5ECA
Closest named color: Deep Lavender (#8D5EB7). oklch(58.1% 0.163 301.6), rgb(141, 94, 202).
Aa
Black text reads best on this color (4.58:1).
About this color
#8D5ECA is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.163 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.029 away. Black text reads best on it, at 4.58:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.163) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.58:1 |
| White text | 4.57:1 |
Values
| HEX | #8D5ECA |
| RGB | rgb(141, 94, 202) |
| HSL | hsl(266, 50%, 58%) |
| OKLCH | oklch(58.1% 0.163 301.6) |
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 #8D5ECA | 4.57:1 | AA | Lc -77.0 | Fine for body text |
| Black text on #8D5ECA | 4.58:1 | AA | Lc 32.6 | Non-text elements, placeholder text |
| #8D5ECA text on white | 4.57:1 | AA | Lc 71.5 | Content text, not long reading |
| #8D5ECA text on black | 4.58: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
#F6F4FB
oklch(97.1% 0.009 299.2)
-
Step 100
100
#ECE7F6
oklch(93.6% 0.021 301.1)
-
Step 200
200
#DED3F0
oklch(88.5% 0.041 302.8)
-
Step 300
300
#C9B6E9
oklch(80.9% 0.074 301.8)
-
Step 400
400
#AE8EDE
oklch(70.6% 0.119 301.8)
-
Step 500
500
#9A70D4
oklch(63% 0.15 301.6)
-
Step 600
600 (this color)
#8D5ECA
oklch(58.1% 0.163 301.6)
-
Step 700
700
#7146A7
oklch(49.1% 0.151 301.5)
-
Step 800
800
#5C3A87
oklch(42.6% 0.125 301.7)
-
Step 900
900
#4B336C
oklch(37.7% 0.097 301.4)
-
Step 950
950
#2C1E40
oklch(27% 0.063 301.3)
#8D5ECA 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) | #3675CE | 0.119 |
| Deuteranopia (no green cones) | #4575C7 | 0.109 |
| Tritanopia (no blue cones) | #81738B | 0.124 |
| Achromatopsia (no color) | #757575 | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8D5ECA
#8D5ECA
oklch(58.1% 0.163 301.6)
- #6E8600
#6E8600
oklch(58% 0.14 121.4)
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 #8D5ECA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.029
- Amethyst #9B5FC0 ΔE 0.030
- Purpley #8756E4 ΔE 0.047
- Medium Purple #9370DB ΔE 0.048
- Deep Lilac #966EBD ΔE 0.051
- Light Indigo #6D5ACF ΔE 0.056
- Slate Blue #6A5ACD ΔE 0.060
- Medium Slate Blue #7B68EE ΔE 0.063
Use #8D5ECA 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.