#8A78B1
Closest named color: Dark Lilac (#9C6DA5). oklch(61.1% 0.087 298.3), rgb(138, 120, 177).
Aa
Black text reads best on this color (5.40:1).
About this color
#8A78B1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.087 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.039 away. Black text reads best on it, at 5.40:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.087) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 5.40:1 |
| White text | 3.88:1 |
Values
| HEX | #8A78B1 |
| RGB | rgb(138, 120, 177) |
| HSL | hsl(259, 27%, 58%) |
| OKLCH | oklch(61.1% 0.087 298.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 #8A78B1 | 3.88:1 | AA large text | Lc -71.8 | Content text, not long reading |
| Black text on #8A78B1 | 5.40:1 | AA | Lc 37.8 | Non-text elements, placeholder text |
| #8A78B1 text on white | 3.88:1 | AA large text | Lc 66.3 | Content text, not long reading |
| #8A78B1 text on black | 5.40:1 | AA | Lc -35.4 | 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
#F6F5F9
oklch(97.2% 0.005 297.7)
-
Step 100
100
#EBE8F1
oklch(93.6% 0.012 301.3)
-
Step 200
200
#DBD6E7
oklch(88.5% 0.024 299.3)
-
Step 300
300
#C4BBD9
oklch(80.9% 0.043 299.1)
-
Step 400
400
#A698C6
oklch(70.8% 0.068 298.6)
-
Step 500
500 (this color)
#8A78B1
oklch(61.1% 0.087 298.3)
-
Step 600
600
#7A67A3
oklch(55.6% 0.093 297.9)
-
Step 700
700
#67558C
oklch(49.1% 0.088 298.2)
-
Step 800
800
#544672
oklch(42.8% 0.073 297.9)
-
Step 900
900
#453B5C
oklch(37.7% 0.057 297.6)
-
Step 950
950
#292336
oklch(27.2% 0.036 298.5)
#8A78B1 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) | #6B81B3 | 0.048 |
| Deuteranopia (no green cones) | #6E81AF | 0.046 |
| Tritanopia (no blue cones) | #83818D | 0.069 |
| Achromatopsia (no color) | #818181 | 0.087 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A78B1
#8A78B1
oklch(61.1% 0.087 298.3)
- #7E8B4D
#7E8B4D
oklch(61.1% 0.087 118.7)
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 #8A78B1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.039
- Deep Lilac #966EBD ΔE 0.039
- Faded Purple #916E99 ΔE 0.040
- Lavender Gray #7E7F9A ΔE 0.049
- Soft Purple #A66FB5 ΔE 0.050
- Dark Lavender #856798 ΔE 0.053
- Purpley Grey #947E94 ΔE 0.055
- Wisteria #A87DC2 ΔE 0.057
Use #8A78B1 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.