#8A7DAC
Closest named color: Lavender Gray (#7E7F9A). oklch(61.9% 0.071 297), rgb(138, 125, 172).
Aa
Black text reads best on this color (5.60:1).
About this color
#8A7DAC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.071 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.036 away. Black text reads best on it, at 5.60:1.
| Hue family | Purples |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.071) |
| Temperature | in between |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.60:1 |
| White text | 3.74:1 |
Values
| HEX | #8A7DAC |
| RGB | rgb(138, 125, 172) |
| HSL | hsl(257, 22%, 58%) |
| OKLCH | oklch(61.9% 0.071 297) |
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 #8A7DAC | 3.74:1 | AA large text | Lc -70.5 | Content text, not long reading |
| Black text on #8A7DAC | 5.60:1 | AA | Lc 39.1 | Non-text elements, placeholder text |
| #8A7DAC text on white | 3.74:1 | AA large text | Lc 65.0 | Content text, not long reading |
| #8A7DAC text on black | 5.60:1 | AA | Lc -36.7 | 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
#DAD7E5
oklch(88.6% 0.019 295.8)
-
Step 300
300
#C2BCD5
oklch(80.8% 0.035 296.6)
-
Step 400
400
#A49AC0
oklch(70.8% 0.056 297)
-
Step 500
500 (this color)
#8A7DAC
oklch(61.9% 0.071 297)
-
Step 600
600
#786A9B
oklch(55.7% 0.076 297)
-
Step 700
700
#655885
oklch(49.1% 0.072 296.9)
-
Step 800
800
#52486C
oklch(42.7% 0.06 296.5)
-
Step 900
900
#443C57
oklch(37.6% 0.046 297.7)
-
Step 950
950
#282333
oklch(26.9% 0.03 298.7)
#8A7DAC 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) | #7384AE | 0.036 |
| Deuteranopia (no green cones) | #7483AB | 0.034 |
| Tritanopia (no blue cones) | #84848D | 0.058 |
| Achromatopsia (no color) | #848484 | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A7DAC
#8A7DAC
oklch(61.9% 0.071 297)
- #838C5A
#838C5A
oklch(62% 0.071 116.8)
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 #8A7DAC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.036
- Purpley Grey #947E94 ΔE 0.040
- Faded Purple #916E99 ΔE 0.043
- Heather #A484AC ΔE 0.047
- Dark Lilac #9C6DA5 ΔE 0.047
- Silver Lake Blue #778DA9 ΔE 0.051
- Deep Lilac #966EBD ΔE 0.055
- Light Slate Gray #778899 ΔE 0.055
Use #8A7DAC 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.