#8A7DAB
Closest named color: Lavender Gray (#7E7F9A). oklch(61.8% 0.07 297.3), rgb(138, 125, 171).
Aa
Black text reads best on this color (5.60:1).
About this color
#8A7DAB is a medium-dark, muted purple. In OKLCH its lightness is 62%, its chroma 0.070 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.034 away. Black text reads best on it, at 5.60:1.
| Hue family | Purples |
| Lightness | medium-dark (62%) |
| Chroma | muted (0.070) |
| Temperature | in between |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.60:1 |
| White text | 3.74:1 |
Values
| HEX | #8A7DAB |
| RGB | rgb(138, 125, 171) |
| HSL | hsl(257, 21%, 58%) |
| OKLCH | oklch(61.8% 0.07 297.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 #8A7DAB | 3.74:1 | AA large text | Lc -70.5 | Content text, not long reading |
| Black text on #8A7DAB | 5.60:1 | AA | Lc 39.1 | Non-text elements, placeholder text |
| #8A7DAB text on white | 3.74:1 | AA large text | Lc 65.0 | Content text, not long reading |
| #8A7DAB text on black | 5.60:1 | AA | Lc -36.6 | 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
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#EAE9F0
oklch(93.7% 0.009 292.8)
-
Step 200
200
#DAD7E4
oklch(88.5% 0.018 296.6)
-
Step 300
300
#C3BCD5
oklch(80.9% 0.036 298.4)
-
Step 400
400
#A49ABF
oklch(70.7% 0.054 297.4)
-
Step 500
500 (this color)
#8A7DAB
oklch(61.8% 0.07 297.3)
-
Step 600
600
#786A9B
oklch(55.7% 0.076 297)
-
Step 700
700
#655884
oklch(49.1% 0.071 297.3)
-
Step 800
800
#52486B
oklch(42.6% 0.058 297)
-
Step 900
900
#443C57
oklch(37.6% 0.046 297.7)
-
Step 950
950
#282433
oklch(27.1% 0.028 296.7)
#8A7DAB 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) | #7384AD | 0.036 |
| Deuteranopia (no green cones) | #7583AA | 0.033 |
| Tritanopia (no blue cones) | #84848D | 0.057 |
| Achromatopsia (no color) | #848484 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A7DAB
#8A7DAB
oklch(61.8% 0.07 297.3)
- #828C5B
#828C5B
oklch(61.9% 0.07 117.9)
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 #8A7DAB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.034
- Purpley Grey #947E94 ΔE 0.039
- Faded Purple #916E99 ΔE 0.042
- Heather #A484AC ΔE 0.047
- Dark Lilac #9C6DA5 ΔE 0.047
- Silver Lake Blue #778DA9 ΔE 0.051
- Light Slate Gray #778899 ΔE 0.054
- Deep Lilac #966EBD ΔE 0.056
Use #8A7DAB 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.