#7E798E
Closest named color: Lavender Gray (#7E7F9A). oklch(58.8% 0.032 296.3), rgb(126, 121, 142).
Aa
Black text reads best on this color (5.01:1).
About this color
#7E798E is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.032 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.021 away. Black text reads best on it, at 5.01:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | muted (0.032) |
| Temperature | in between |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.01:1 |
| White text | 4.18:1 |
Values
| HEX | #7E798E |
| RGB | rgb(126, 121, 142) |
| HSL | hsl(254, 9%, 52%) |
| OKLCH | oklch(58.8% 0.032 296.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 #7E798E | 4.18:1 | AA large text | Lc -74.4 | Content text, not long reading |
| Black text on #7E798E | 5.01:1 | AA | Lc 35.2 | Non-text elements, placeholder text |
| #7E798E text on white | 4.18:1 | AA large text | Lc 68.9 | Content text, not long reading |
| #7E798E text on black | 5.01:1 | AA | Lc -32.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 600.
-
Step 50
50
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#EAE9EC
oklch(93.6% 0.004 301.4)
-
Step 200
200
#D9D8DE
oklch(88.5% 0.008 293.9)
-
Step 300
300
#C1BFC9
oklch(80.9% 0.014 295.3)
-
Step 400
400
#A29EAE
oklch(70.8% 0.023 297.2)
-
Step 500
500
#8B869A
oklch(63.1% 0.03 297)
-
Step 600
600 (this color)
#7E798E
oklch(58.8% 0.032 296.3)
-
Step 700
700
#625D70
oklch(49% 0.031 297.3)
-
Step 800
800
#504C5B
oklch(42.6% 0.025 297.5)
-
Step 900
900
#42404B
oklch(37.8% 0.019 293.8)
-
Step 950
950
#27252C
oklch(27% 0.013 298.6)
#7E798E 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) | #757C8F | 0.015 |
| Deuteranopia (no green cones) | #767C8D | 0.014 |
| Tritanopia (no blue cones) | #7B7C80 | 0.027 |
| Achromatopsia (no color) | #7C7C7C | 0.032 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E798E
#7E798E
oklch(58.8% 0.032 296.3)
- #7B7F6A
#7B7F6A
oklch(58.7% 0.031 116.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 #7E798E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.021
- Slate Gray #708090 ΔE 0.026
- Purple Grey #866F85 ΔE 0.028
- Grey Purple #826D8C ΔE 0.033
- Battleship Grey #6B7C85 ΔE 0.034
- Steel #738595 ΔE 0.034
- Gray #808080 ΔE 0.034
- Steel Grey #6F828A ΔE 0.035
Use #7E798E 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.