#8D66D4
Closest named color: Medium Purple (#9370DB). oklch(60% 0.164 297.6), rgb(141, 102, 212).
Aa
Black text reads best on this color (4.98:1).
About this color
#8D66D4 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.164 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.027 away. Black text reads best on it, at 4.98:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.164) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 4.98:1 |
| White text | 4.21:1 |
Values
| HEX | #8D66D4 |
| RGB | rgb(141, 102, 212) |
| HSL | hsl(261, 56%, 62%) |
| OKLCH | oklch(60% 0.164 297.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 #8D66D4 | 4.21:1 | AA large text | Lc -74.3 | Content text, not long reading |
| Black text on #8D66D4 | 4.98:1 | AA | Lc 35.3 | Non-text elements, placeholder text |
| #8D66D4 text on white | 4.21:1 | AA large text | Lc 68.8 | Content text, not long reading |
| #8D66D4 text on black | 4.98:1 | AA | Lc -32.8 | 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
#F6F4FC
oklch(97.1% 0.011 297.6)
-
Step 100
100
#EBE7F8
oklch(93.6% 0.023 296.7)
-
Step 200
200
#DCD3F3
oklch(88.4% 0.045 298.3)
-
Step 300
300
#C6B6EE
oklch(80.9% 0.08 297.7)
-
Step 400
400
#AA8EE6
oklch(70.7% 0.128 297.7)
-
Step 500
500 (this color)
#8D66D4
oklch(60% 0.164 297.6)
-
Step 600
600
#8155CC
oklch(55.6% 0.177 297.4)
-
Step 700
700
#6E44B1
oklch(49.1% 0.166 297.7)
-
Step 800
800
#59398F
oklch(42.7% 0.137 297.4)
-
Step 900
900
#493272
oklch(37.7% 0.107 297.6)
-
Step 950
950
#2B1E43
oklch(27.1% 0.068 298)
#8D66D4 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) | #3C7CD8 | 0.109 |
| Deuteranopia (no green cones) | #467AD1 | 0.102 |
| Tritanopia (no blue cones) | #7D7C93 | 0.130 |
| Achromatopsia (no color) | #7B7B7B | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8D66D4
#8D66D4
oklch(60% 0.164 297.6)
- #7A8A00
#7A8A00
oklch(59.9% 0.139 117.6)
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 #8D66D4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.027
- Amethyst #9B5FC0 ΔE 0.039
- Deep Lavender #8D5EB7 ΔE 0.046
- Deep Lilac #966EBD ΔE 0.047
- Purpley #8756E4 ΔE 0.047
- Medium Slate Blue #7B68EE ΔE 0.048
- Light Indigo #6D5ACF ΔE 0.063
- Dark Periwinkle #665FD1 ΔE 0.067
Use #8D66D4 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.