#8A7DB7
Closest named color: Deep Lilac (#966EBD). oklch(62.4% 0.087 294), rgb(138, 125, 183).
Aa
Black text reads best on this color (5.69:1).
About this color
#8A7DB7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.087 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.045 away. Black text reads best on it, at 5.69:1.
| Hue family | Purples |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.087) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.69:1 |
| White text | 3.68:1 |
Values
| HEX | #8A7DB7 |
| RGB | rgb(138, 125, 183) |
| HSL | hsl(253, 29%, 60%) |
| OKLCH | oklch(62.4% 0.087 294) |
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 #8A7DB7 | 3.68:1 | AA large text | Lc -69.9 | Content text, not long reading |
| Black text on #8A7DB7 | 5.69:1 | AA | Lc 39.7 | Non-text elements, placeholder text |
| #8A7DB7 text on white | 3.68:1 | AA large text | Lc 64.4 | Content text, not long reading |
| #8A7DB7 text on black | 5.69:1 | AA | Lc -37.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
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#EAE8F2
oklch(93.5% 0.014 295.3)
-
Step 200
200
#D9D6E8
oklch(88.4% 0.025 293.5)
-
Step 300
300
#C2BCDA
oklch(81% 0.042 294.6)
-
Step 400
400
#A299C8
oklch(70.7% 0.068 293.3)
-
Step 500
500 (this color)
#8A7DB7
oklch(62.4% 0.087 294)
-
Step 600
600
#7668A5
oklch(55.6% 0.094 293.7)
-
Step 700
700
#64568E
oklch(49.1% 0.089 294.4)
-
Step 800
800
#514773
oklch(42.7% 0.072 293.5)
-
Step 900
900
#433C5D
oklch(37.8% 0.056 293.3)
-
Step 950
950
#272336
oklch(27% 0.035 293.6)
#8A7DB7 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) | #6F86B9 | 0.042 |
| Deuteranopia (no green cones) | #7084B5 | 0.040 |
| Tritanopia (no blue cones) | #818792 | 0.072 |
| Achromatopsia (no color) | #858585 | 0.087 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A7DB7
#8A7DB7
oklch(62.4% 0.087 294)
- #868D4E
#868D4E
oklch(62.3% 0.086 114.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 #8A7DB7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.045
- Dark Lilac #9C6DA5 ΔE 0.049
- Wisteria #A87DC2 ΔE 0.051
- Heather #A484AC ΔE 0.051
- Lavender Gray #7E7F9A ΔE 0.051
- Faded Purple #916E99 ΔE 0.052
- Soft Purple #A66FB5 ΔE 0.054
- Purpley Grey #947E94 ΔE 0.056
Use #8A7DB7 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.