#8766DC
Closest named color: Medium Purple (#9370DB). oklch(60% 0.173 293.4), rgb(135, 102, 220).
Aa
Black text reads best on this color (4.96:1).
About this color
#8766DC is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.173 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.033 away. Black text reads best on it, at 4.96:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 4.96:1 |
| White text | 4.23:1 |
Values
| HEX | #8766DC |
| RGB | rgb(135, 102, 220) |
| HSL | hsl(257, 63%, 63%) |
| OKLCH | oklch(60% 0.173 293.4) |
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 #8766DC | 4.23:1 | AA large text | Lc -74.4 | Content text, not long reading |
| Black text on #8766DC | 4.96:1 | AA | Lc 35.2 | Non-text elements, placeholder text |
| #8766DC text on white | 4.23:1 | AA large text | Lc 68.9 | Content text, not long reading |
| #8766DC text on black | 4.96:1 | AA | Lc -32.7 | 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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#EAE7F9
oklch(93.6% 0.024 293.6)
-
Step 200
200
#DAD4F6
oklch(88.5% 0.047 293.5)
-
Step 300
300
#C2B7F3
oklch(80.9% 0.084 292.8)
-
Step 400
400
#A58FED
oklch(70.8% 0.136 293.4)
-
Step 500
500 (this color)
#8766DC
oklch(60% 0.173 293.4)
-
Step 600
600
#7C55D5
oklch(55.7% 0.188 293.4)
-
Step 700
700
#6944B8
oklch(49.1% 0.174 293.7)
-
Step 800
800
#553995
oklch(42.7% 0.144 293.4)
-
Step 900
900
#463277
oklch(37.7% 0.113 293.6)
-
Step 950
950
#291E46
oklch(27.1% 0.072 293.7)
#8766DC 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) | #307CE0 | 0.108 |
| Deuteranopia (no green cones) | #3879D9 | 0.103 |
| Tritanopia (no blue cones) | #717E97 | 0.139 |
| Achromatopsia (no color) | #7B7B7B | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8766DC
#8766DC
oklch(60% 0.173 293.4)
- #818800
#818800
oklch(60% 0.134 113.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 #8766DC, closest first.
No curated palette has a color within ΔE 0.04 of #8766DC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.033
- Medium Slate Blue #7B68EE ΔE 0.033
- Purpley #8756E4 ΔE 0.038
- Amethyst #9B5FC0 ΔE 0.054
- Light Indigo #6D5ACF ΔE 0.056
- Deep Lavender #8D5EB7 ΔE 0.058
- Dark Periwinkle #665FD1 ΔE 0.059
- Slate Blue #6A5ACD ΔE 0.061
Use #8766DC 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.