#8A71C3
Closest named color: Deep Lilac (#966EBD). oklch(60.7% 0.123 296.6), rgb(138, 113, 195).
Aa
Black text reads best on this color (5.23:1).
About this color
#8A71C3 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.123 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.021 away. Black text reads best on it, at 5.23:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.123) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.23:1 |
| White text | 4.01:1 |
Values
| HEX | #8A71C3 |
| RGB | rgb(138, 113, 195) |
| HSL | hsl(258, 41%, 60%) |
| OKLCH | oklch(60.7% 0.123 296.6) |
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 #8A71C3 | 4.01:1 | AA large text | Lc -72.8 | Content text, not long reading |
| Black text on #8A71C3 | 5.23:1 | AA | Lc 36.8 | Non-text elements, placeholder text |
| #8A71C3 text on white | 4.01:1 | AA large text | Lc 67.3 | Content text, not long reading |
| #8A71C3 text on black | 5.23:1 | AA | Lc -34.3 | 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
#F6F4FA
oklch(97% 0.008 301.4)
-
Step 100
100
#EBE8F4
oklch(93.7% 0.016 297.5)
-
Step 200
200
#DBD5ED
oklch(88.5% 0.033 297.2)
-
Step 300
300
#C4B9E4
oklch(80.9% 0.061 296.7)
-
Step 400
400
#A694D6
oklch(70.7% 0.097 296.4)
-
Step 500
500 (this color)
#8A71C3
oklch(60.7% 0.123 296.6)
-
Step 600
600
#7C60B8
oklch(55.7% 0.134 296.5)
-
Step 700
700
#694F9E
oklch(49.2% 0.124 296.8)
-
Step 800
800
#554180
oklch(42.7% 0.103 296.4)
-
Step 900
900
#463767
oklch(37.6% 0.081 296.7)
-
Step 950
950
#29213C
oklch(27.1% 0.05 296.6)
#8A71C3 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) | #597FC6 | 0.072 |
| Deuteranopia (no green cones) | #5E7EC1 | 0.067 |
| Tritanopia (no blue cones) | #7E8091 | 0.099 |
| Achromatopsia (no color) | #7F7F7F | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A71C3
#8A71C3
oklch(60.7% 0.123 296.6)
- #7E8B26
#7E8B26
oklch(60.7% 0.123 116.6)
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 #8A71C3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.021
- Medium Purple #9370DB ΔE 0.040
- Deep Lavender #8D5EB7 ΔE 0.047
- Amethyst #9B5FC0 ΔE 0.049
- Soft Purple #A66FB5 ΔE 0.050
- Dark Lilac #9C6DA5 ΔE 0.053
- Wisteria #A87DC2 ΔE 0.061
- Faded Purple #916E99 ΔE 0.064
Use #8A71C3 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.