#8A7FB5
Closest named color: Lavender Gray (#7E7F9A). oklch(62.7% 0.081 293.3), rgb(138, 127, 181).
Aa
Black text reads best on this color (5.78:1).
About this color
#8A7FB5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.081 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.047 away. Black text reads best on it, at 5.78:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.081) |
| Temperature | in between |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.78:1 |
| White text | 3.63:1 |
Values
| HEX | #8A7FB5 |
| RGB | rgb(138, 127, 181) |
| HSL | hsl(252, 27%, 60%) |
| OKLCH | oklch(62.7% 0.081 293.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 #8A7FB5 | 3.63:1 | AA large text | Lc -69.4 | Content text, not long reading |
| Black text on #8A7FB5 | 5.78:1 | AA | Lc 40.2 | Non-text elements, placeholder text |
| #8A7FB5 text on white | 3.63:1 | AA large text | Lc 63.9 | Content text, not long reading |
| #8A7FB5 text on black | 5.78:1 | AA | Lc -37.8 | 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
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#EAE9F1
oklch(93.7% 0.011 291.9)
-
Step 200
200
#D9D7E7
oklch(88.6% 0.022 291.7)
-
Step 300
300
#C1BCD8
oklch(80.8% 0.039 293.7)
-
Step 400
400
#A29AC5
oklch(70.8% 0.063 293.3)
-
Step 500
500 (this color)
#8A7FB5
oklch(62.7% 0.081 293.3)
-
Step 600
600
#7569A2
oklch(55.5% 0.088 293)
-
Step 700
700
#63578B
oklch(49.1% 0.083 293.7)
-
Step 800
800
#514871
oklch(42.8% 0.067 293.4)
-
Step 900
900
#433C5B
oklch(37.7% 0.053 294.1)
-
Step 950
950
#272335
oklch(26.9% 0.033 294.2)
#8A7FB5 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) | #7287B7 | 0.037 |
| Deuteranopia (no green cones) | #7385B4 | 0.035 |
| Tritanopia (no blue cones) | #818892 | 0.068 |
| Achromatopsia (no color) | #868686 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A7FB5
#8A7FB5
oklch(62.7% 0.081 293.3)
- #888E53
#888E53
oklch(62.8% 0.081 113.5)
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 #8A7FB5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.047
- Heather #A484AC ΔE 0.047
- Deep Lilac #966EBD ΔE 0.051
- Purpley Grey #947E94 ΔE 0.052
- Dark Lilac #9C6DA5 ΔE 0.052
- Wisteria #A87DC2 ΔE 0.052
- Faded Purple #916E99 ΔE 0.053
- Silver Lake Blue #778DA9 ΔE 0.053
Use #8A7FB5 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.