#7E7998
Closest named color: Lavender Gray (#7E7F9A). oklch(59.2% 0.047 292.3), rgb(126, 121, 152).
Aa
Black text reads best on this color (5.07:1).
About this color
#7E7998 is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.047 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.016 away. Black text reads best on it, at 5.07:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | muted (0.047) |
| Temperature | in between |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.07:1 |
| White text | 4.13:1 |
Values
| HEX | #7E7998 |
| RGB | rgb(126, 121, 152) |
| HSL | hsl(250, 13%, 54%) |
| OKLCH | oklch(59.2% 0.047 292.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 #7E7998 | 4.13:1 | AA large text | Lc -74.0 | Content text, not long reading |
| Black text on #7E7998 | 5.07:1 | AA | Lc 35.6 | Non-text elements, placeholder text |
| #7E7998 text on white | 4.13:1 | AA large text | Lc 68.5 | Content text, not long reading |
| #7E7998 text on black | 5.07: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
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#EAE9EE
oklch(93.6% 0.007 295.4)
-
Step 200
200
#D9D8E0
oklch(88.5% 0.011 291.9)
-
Step 300
300
#C0BECE
oklch(80.8% 0.022 291.6)
-
Step 400
400
#A19DB5
oklch(70.7% 0.035 293.1)
-
Step 500
500
#8A85A2
oklch(63.1% 0.043 293)
-
Step 600
600 (this color)
#7E7998
oklch(59.2% 0.047 292.3)
-
Step 700
700
#615C78
oklch(49% 0.045 292.9)
-
Step 800
800
#4F4C62
oklch(42.8% 0.036 291)
-
Step 900
900
#423F50
oklch(37.7% 0.029 293.1)
-
Step 950
950
#26252F
oklch(27% 0.018 289.7)
#7E7998 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) | #727D99 | 0.019 |
| Deuteranopia (no green cones) | #727C97 | 0.019 |
| Tritanopia (no blue cones) | #797E83 | 0.041 |
| Achromatopsia (no color) | #7D7D7D | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E7998
#7E7998
oklch(59.2% 0.047 292.3)
- #7E8161
#7E8161
oklch(59.2% 0.047 112.2)
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 #7E7998, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.016
- Slate Gray #708090 ΔE 0.033
- Grey Purple #826D8C ΔE 0.033
- Purple Grey #866F85 ΔE 0.034
- Steel #738595 ΔE 0.038
- Purpley Grey #947E94 ΔE 0.039
- Faded Purple #916E99 ΔE 0.041
- Light Slate Gray #778899 ΔE 0.043
Use #7E7998 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.