#8D66E4
Closest named color: Medium Purple (#9370DB). oklch(61% 0.184 294.6), rgb(141, 102, 228).
Aa
Black text reads best on this color (5.15:1).
About this color
#8D66E4 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.184 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.031 away. Black text reads best on it, at 5.15:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.184) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.15:1 |
| White text | 4.07:1 |
Values
| HEX | #8D66E4 |
| RGB | rgb(141, 102, 228) |
| HSL | hsl(259, 70%, 65%) |
| OKLCH | oklch(61% 0.184 294.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 #8D66E4 | 4.07:1 | AA large text | Lc -73.1 | Content text, not long reading |
| Black text on #8D66E4 | 5.15:1 | AA | Lc 36.5 | Non-text elements, placeholder text |
| #8D66E4 text on white | 4.07:1 | AA large text | Lc 67.6 | Content text, not long reading |
| #8D66E4 text on black | 5.15:1 | AA | Lc -34.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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#EAE7FA
oklch(93.6% 0.026 293.1)
-
Step 200
200
#DBD3F8
oklch(88.5% 0.051 295.2)
-
Step 300
300
#C4B6F5
oklch(81% 0.089 294.5)
-
Step 400
400
#A78DF0
oklch(70.7% 0.143 294.6)
-
Step 500
500 (this color)
#8D66E4
oklch(61% 0.184 294.6)
-
Step 600
600
#7F50D9
oklch(55.6% 0.2 294.8)
-
Step 700
700
#6B40BD
oklch(49.1% 0.186 294.3)
-
Step 800
800
#573699
oklch(42.8% 0.154 294.3)
-
Step 900
900
#473079
oklch(37.6% 0.119 294.5)
-
Step 950
950
#2A1D47
oklch(27.1% 0.076 295.1)
#8D66E4 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) | #287FE8 | 0.120 |
| Deuteranopia (no green cones) | #357CE1 | 0.113 |
| Tritanopia (no blue cones) | #77809B | 0.146 |
| Achromatopsia (no color) | #7E7E7E | 0.185 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8D66E4
#8D66E4
oklch(61% 0.184 294.6)
- #828C00
#828C00
oklch(61.1% 0.138 114.7)
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 #8D66E4, closest first.
No curated palette has a color within ΔE 0.04 of #8D66E4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.031
- Medium Slate Blue #7B68EE ΔE 0.032
- Purpley #8756E4 ΔE 0.037
- Lighter Purple #A55AF4 ΔE 0.051
- Amethyst #9B5FC0 ΔE 0.060
- Cornflower #6A79F7 ΔE 0.067
- Deep Lilac #966EBD ΔE 0.068
- Light Indigo #6D5ACF ΔE 0.068
Use #8D66E4 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.