#8A5DC6
Closest named color: Deep Lavender (#8D5EB7). oklch(57.4% 0.159 301.3), rgb(138, 93, 198).
Aa
White text reads best on this color (4.70:1).
About this color
#8A5DC6 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.159 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.025 away. White text reads best on it, at 4.70:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.159) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.46:1 |
| White text | 4.70:1 |
Values
| HEX | #8A5DC6 |
| RGB | rgb(138, 93, 198) |
| HSL | hsl(266, 48%, 57%) |
| OKLCH | oklch(57.4% 0.159 301.3) |
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 #8A5DC6 | 4.70:1 | AA | Lc -77.9 | Fine for body text |
| Black text on #8A5DC6 | 4.46:1 | AA large text | Lc 31.7 | Non-text elements, placeholder text |
| #8A5DC6 text on white | 4.70:1 | AA | Lc 72.4 | Content text, not long reading |
| #8A5DC6 text on black | 4.46:1 | AA large text | Lc -29.3 | Dividers and decoration only |
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 600.
-
Step 50
50
#F6F4FB
oklch(97.1% 0.009 299.2)
-
Step 100
100
#ECE7F6
oklch(93.6% 0.021 301.1)
-
Step 200
200
#DDD4F0
oklch(88.6% 0.039 300.2)
-
Step 300
300
#C8B6E8
oklch(80.8% 0.072 301.3)
-
Step 400
400
#AD8FDD
oklch(70.7% 0.115 301.2)
-
Step 500
500
#9A71D3
oklch(63.1% 0.147 301.6)
-
Step 600
600 (this color)
#8A5DC6
oklch(57.4% 0.159 301.3)
-
Step 700
700
#7047A6
oklch(49.1% 0.148 301)
-
Step 800
800
#5B3B86
oklch(42.6% 0.122 301.1)
-
Step 900
900
#4B336C
oklch(37.7% 0.097 301.4)
-
Step 950
950
#2C1E3F
oklch(26.9% 0.062 302)
#8A5DC6 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) | #3773CA | 0.115 |
| Deuteranopia (no green cones) | #4573C3 | 0.105 |
| Tritanopia (no blue cones) | #7E7189 | 0.121 |
| Achromatopsia (no color) | #747474 | 0.160 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A5DC6
#8A5DC6
oklch(57.4% 0.159 301.3)
- #6C8400
#6C8400
oklch(57.4% 0.138 121.5)
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 #8A5DC6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.025
- Amethyst #9B5FC0 ΔE 0.033
- Purpley #8756E4 ΔE 0.050
- Light Indigo #6D5ACF ΔE 0.052
- Deep Lilac #966EBD ΔE 0.053
- Medium Purple #9370DB ΔE 0.055
- Slate Blue #6A5ACD ΔE 0.056
- Dark Periwinkle #665FD1 ΔE 0.060
Use #8A5DC6 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.