#8A7CAF
Closest named color: Lavender Gray (#7E7F9A). oklch(61.8% 0.077 296.7), rgb(138, 124, 175).
Aa
Black text reads best on this color (5.58:1).
About this color
#8A7CAF is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.077 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.041 away. Black text reads best on it, at 5.58:1.
| Hue family | Purples |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.077) |
| Temperature | in between |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.58:1 |
| White text | 3.76:1 |
Values
| HEX | #8A7CAF |
| RGB | rgb(138, 124, 175) |
| HSL | hsl(256, 24%, 59%) |
| OKLCH | oklch(61.8% 0.077 296.7) |
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 #8A7CAF | 3.76:1 | AA large text | Lc -70.6 | Content text, not long reading |
| Black text on #8A7CAF | 5.58:1 | AA | Lc 38.9 | Non-text elements, placeholder text |
| #8A7CAF text on white | 3.76:1 | AA large text | Lc 65.1 | Content text, not long reading |
| #8A7CAF text on black | 5.58:1 | AA | Lc -36.5 | 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
#EAE8F0
oklch(93.5% 0.011 297.6)
-
Step 200
200
#DAD7E6
oklch(88.6% 0.021 295.1)
-
Step 300
300
#C3BCD7
oklch(80.9% 0.038 297.4)
-
Step 400
400
#A499C2
oklch(70.7% 0.06 297.1)
-
Step 500
500 (this color)
#8A7CAF
oklch(61.8% 0.077 296.7)
-
Step 600
600
#78699F
oklch(55.7% 0.084 296.3)
-
Step 700
700
#655788
oklch(49.1% 0.078 296.5)
-
Step 800
800
#52476E
oklch(42.6% 0.065 296.5)
-
Step 900
900
#443C59
oklch(37.7% 0.05 296.6)
-
Step 950
950
#282334
oklch(26.9% 0.032 297.7)
#8A7CAF 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) | #7084B1 | 0.040 |
| Deuteranopia (no green cones) | #7283AE | 0.038 |
| Tritanopia (no blue cones) | #83848E | 0.063 |
| Achromatopsia (no color) | #848484 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A7CAF
#8A7CAF
oklch(61.8% 0.077 296.7)
- #828C55
#828C55
oklch(61.8% 0.078 117.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 #8A7CAF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.041
- Faded Purple #916E99 ΔE 0.043
- Dark Lilac #9C6DA5 ΔE 0.045
- Purpley Grey #947E94 ΔE 0.046
- Heather #A484AC ΔE 0.049
- Deep Lilac #966EBD ΔE 0.050
- Silver Lake Blue #778DA9 ΔE 0.055
- Soft Purple #A66FB5 ΔE 0.056
Use #8A7CAF 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.