#8A5FC9
Closest named color: Deep Lavender (#8D5EB7). oklch(57.9% 0.16 300.2), rgb(138, 95, 201).
Aa
White text reads best on this color (4.60:1).
About this color
#8A5FC9 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.160 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.028 away. White text reads best on it, at 4.60:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.160) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.56:1 |
| White text | 4.60:1 |
Values
| HEX | #8A5FC9 |
| RGB | rgb(138, 95, 201) |
| HSL | hsl(264, 50%, 58%) |
| OKLCH | oklch(57.9% 0.16 300.2) |
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 #8A5FC9 | 4.60:1 | AA | Lc -77.2 | Fine for body text |
| Black text on #8A5FC9 | 4.56:1 | AA | Lc 32.4 | Non-text elements, placeholder text |
| #8A5FC9 text on white | 4.60:1 | AA | Lc 71.7 | Content text, not long reading |
| #8A5FC9 text on black | 4.56:1 | AA | Lc -30.0 | 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
#C7B7E9
oklch(80.9% 0.071 299.4)
-
Step 400
400
#AC8FDE
oklch(70.6% 0.117 300.3)
-
Step 500
500
#9872D4
oklch(63.1% 0.147 300.1)
-
Step 600
600 (this color)
#8A5FC9
oklch(57.9% 0.16 300.2)
-
Step 700
700
#6F47A7
oklch(49% 0.149 300.2)
-
Step 800
800
#5A3B87
oklch(42.6% 0.123 300)
-
Step 900
900
#4A346C
oklch(37.8% 0.095 300)
-
Step 950
950
#2B1F3F
oklch(27% 0.059 299.7)
#8A5FC9 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) | #3875CD | 0.113 |
| Deuteranopia (no green cones) | #4574C6 | 0.103 |
| Tritanopia (no blue cones) | #7D738B | 0.122 |
| Achromatopsia (no color) | #757575 | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A5FC9
#8A5FC9
oklch(57.9% 0.16 300.2)
- #708500
#708500
oklch(57.9% 0.138 120.1)
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 #8A5FC9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.028
- Amethyst #9B5FC0 ΔE 0.033
- Purpley #8756E4 ΔE 0.048
- Medium Purple #9370DB ΔE 0.049
- Deep Lilac #966EBD ΔE 0.050
- Light Indigo #6D5ACF ΔE 0.052
- Slate Blue #6A5ACD ΔE 0.056
- Dark Periwinkle #665FD1 ΔE 0.060
Use #8A5FC9 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.