#8A66DC
Closest named color: Medium Purple (#9370DB). oklch(60.2% 0.173 294.7), rgb(138, 102, 220).
Aa
Black text reads best on this color (5.01:1).
About this color
#8A66DC is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.173 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.030 away. Black text reads best on it, at 5.01:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.01:1 |
| White text | 4.18:1 |
Values
| HEX | #8A66DC |
| RGB | rgb(138, 102, 220) |
| HSL | hsl(258, 63%, 63%) |
| OKLCH | oklch(60.2% 0.173 294.7) |
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 #8A66DC | 4.18:1 | AA large text | Lc -74.1 | Content text, not long reading |
| Black text on #8A66DC | 5.01:1 | AA | Lc 35.5 | Non-text elements, placeholder text |
| #8A66DC text on white | 4.18:1 | AA large text | Lc 68.6 | Content text, not long reading |
| #8A66DC text on black | 5.01:1 | AA | Lc -33.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 500.
-
Step 50
50
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#EAE7F9
oklch(93.6% 0.024 293.6)
-
Step 200
200
#DBD4F6
oklch(88.6% 0.047 294.9)
-
Step 300
300
#C4B6F2
oklch(80.9% 0.085 295.1)
-
Step 400
400
#A78EEC
oklch(70.7% 0.136 294.9)
-
Step 500
500 (this color)
#8A66DC
oklch(60.2% 0.173 294.7)
-
Step 600
600
#7E54D4
oklch(55.7% 0.188 294.6)
-
Step 700
700
#6B43B7
oklch(49.1% 0.175 295)
-
Step 800
800
#573894
oklch(42.7% 0.145 295.1)
-
Step 900
900
#473276
oklch(37.8% 0.112 294.7)
-
Step 950
950
#291E45
oklch(27% 0.071 294.2)
#8A66DC 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) | #327DE0 | 0.111 |
| Deuteranopia (no green cones) | #3C7AD9 | 0.104 |
| Tritanopia (no blue cones) | #767E97 | 0.138 |
| Achromatopsia (no color) | #7C7C7C | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A66DC
#8A66DC
oklch(60.2% 0.173 294.7)
- #7F8900
#7F8900
oklch(60.1% 0.136 114.8)
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 #8A66DC, closest first.
No curated palette has a color within ΔE 0.04 of #8A66DC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.030
- Medium Slate Blue #7B68EE ΔE 0.036
- Purpley #8756E4 ΔE 0.039
- Amethyst #9B5FC0 ΔE 0.052
- Deep Lavender #8D5EB7 ΔE 0.057
- Deep Lilac #966EBD ΔE 0.059
- Light Indigo #6D5ACF ΔE 0.060
- Lighter Purple #A55AF4 ΔE 0.062
Use #8A66DC 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.