#787A9D
Closest named color: Lavender Gray (#7E7F9A). oklch(59.1% 0.053 282.1), rgb(120, 122, 157).
Aa
Black text reads best on this color (5.06:1).
About this color
#787A9D is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.053 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.019 away. Black text reads best on it, at 5.06:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | muted (0.053) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.06:1 |
| White text | 4.14:1 |
Values
| HEX | #787A9D |
| RGB | rgb(120, 122, 157) |
| HSL | hsl(237, 16%, 54%) |
| OKLCH | oklch(59.1% 0.053 282.1) |
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 #787A9D | 4.14:1 | AA large text | Lc -74.0 | Content text, not long reading |
| Black text on #787A9D | 5.06:1 | AA | Lc 35.6 | Non-text elements, placeholder text |
| #787A9D text on white | 4.14:1 | AA large text | Lc 68.5 | Content text, not long reading |
| #787A9D text on black | 5.06:1 | AA | Lc -33.2 | 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 600.
-
Step 50
50
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#E9E9EE
oklch(93.5% 0.007 286.3)
-
Step 200
200
#D7D8E2
oklch(88.4% 0.014 281.5)
-
Step 300
300
#BEBFD0
oklch(80.9% 0.024 283.2)
-
Step 400
400
#9C9EB9
oklch(70.7% 0.039 282)
-
Step 500
500
#8486A7
oklch(63% 0.049 282.2)
-
Step 600
600 (this color)
#787A9D
oklch(59.1% 0.053 282.1)
-
Step 700
700
#5C5D7D
oklch(49% 0.051 282.9)
-
Step 800
800
#4B4C65
oklch(42.6% 0.041 282.7)
-
Step 900
900
#3F4052
oklch(37.8% 0.031 282.3)
-
Step 950
950
#252530
oklch(26.9% 0.02 285)
#787A9D 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) | #717E9F | 0.014 |
| Deuteranopia (no green cones) | #6F7B9C | 0.013 |
| Tritanopia (no blue cones) | #708086 | 0.046 |
| Achromatopsia (no color) | #7D7D7D | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #787A9D
#787A9D
oklch(59.1% 0.053 282.1)
- #847F5A
#847F5A
oklch(59.1% 0.053 101.3)
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 #787A9D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.019
- Slate Gray #708090 ΔE 0.033
- Steel #738595 ΔE 0.038
- Grey Purple #826D8C ΔE 0.039
- Grey Blue #647D8E ΔE 0.040
- Light Slate Gray #778899 ΔE 0.043
- Purple Grey #866F85 ΔE 0.043
- Steel Grey #6F828A ΔE 0.045
Use #787A9D 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.