#8B6BD7
Closest named color: Medium Purple (#9370DB). oklch(60.9% 0.16 294.9), rgb(139, 107, 215).
Aa
Black text reads best on this color (5.18:1).
About this color
#8B6BD7 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.160 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.019 away. Black text reads best on it, at 5.18:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.160) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.18:1 |
| White text | 4.05:1 |
Values
| HEX | #8B6BD7 |
| RGB | rgb(139, 107, 215) |
| HSL | hsl(258, 57%, 63%) |
| OKLCH | oklch(60.9% 0.16 294.9) |
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 #8B6BD7 | 4.05:1 | AA large text | Lc -73.0 | Content text, not long reading |
| Black text on #8B6BD7 | 5.18:1 | AA | Lc 36.5 | Non-text elements, placeholder text |
| #8B6BD7 text on white | 4.05:1 | AA large text | Lc 67.5 | Content text, not long reading |
| #8B6BD7 text on black | 5.18:1 | AA | Lc -34.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
#F6F4FC
oklch(97.1% 0.011 297.6)
-
Step 100
100
#EAE7F8
oklch(93.5% 0.023 294.1)
-
Step 200
200
#DBD4F4
oklch(88.5% 0.044 295.5)
-
Step 300
300
#C4B7EE
oklch(80.9% 0.078 295.4)
-
Step 400
400
#A690E6
oklch(70.7% 0.125 294.8)
-
Step 500
500 (this color)
#8B6BD7
oklch(60.9% 0.16 294.9)
-
Step 600
600
#7D58CC
oklch(55.7% 0.173 294.9)
-
Step 700
700
#6A47B1
oklch(49.2% 0.162 295)
-
Step 800
800
#563B8F
oklch(42.7% 0.133 295)
-
Step 900
900
#463372
oklch(37.6% 0.105 294.8)
-
Step 950
950
#291F43
oklch(27.1% 0.065 294.4)
#8B6BD7 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) | #427FDB | 0.098 |
| Deuteranopia (no green cones) | #497DD4 | 0.093 |
| Tritanopia (no blue cones) | #798097 | 0.127 |
| Achromatopsia (no color) | #7E7E7E | 0.160 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8B6BD7
#8B6BD7
oklch(60.9% 0.16 294.9)
- #818B00
#818B00
oklch(60.8% 0.137 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 #8B6BD7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.019
- Medium Slate Blue #7B68EE ΔE 0.045
- Deep Lilac #966EBD ΔE 0.046
- Amethyst #9B5FC0 ΔE 0.048
- Deep Lavender #8D5EB7 ΔE 0.053
- Purpley #8756E4 ΔE 0.054
- Light Indigo #6D5ACF ΔE 0.067
- Dark Periwinkle #665FD1 ΔE 0.068
Use #8B6BD7 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.