#797A9E
Closest named color: Lavender Gray (#7E7F9A). oklch(59.2% 0.055 283.3), rgb(121, 122, 158).
Aa
Black text reads best on this color (5.09:1).
About this color
#797A9E is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.055 and its hue 283°. 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.09:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | muted (0.055) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.09:1 |
| White text | 4.12:1 |
Values
| HEX | #797A9E |
| RGB | rgb(121, 122, 158) |
| HSL | hsl(238, 16%, 55%) |
| OKLCH | oklch(59.2% 0.055 283.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 #797A9E | 4.12:1 | AA large text | Lc -73.9 | Content text, not long reading |
| Black text on #797A9E | 5.09:1 | AA | Lc 35.7 | Non-text elements, placeholder text |
| #797A9E text on white | 4.12:1 | AA large text | Lc 68.4 | Content text, not long reading |
| #797A9E text on black | 5.09:1 | AA | Lc -33.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 600.
-
Step 50
50
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#E9E9EF
oklch(93.6% 0.008 286.2)
-
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
#9D9EB9
oklch(70.7% 0.039 283.7)
-
Step 500
500
#8586A8
oklch(63.1% 0.051 283.5)
-
Step 600
600 (this color)
#797A9E
oklch(59.2% 0.055 283.3)
-
Step 700
700
#5C5D7D
oklch(49% 0.051 282.9)
-
Step 800
800
#4C4C66
oklch(42.7% 0.043 284.4)
-
Step 900
900
#3F3F53
oklch(37.6% 0.034 284.6)
-
Step 950
950
#252530
oklch(26.9% 0.02 285)
#797A9E 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) | #717EA0 | 0.015 |
| Deuteranopia (no green cones) | #6F7C9D | 0.015 |
| Tritanopia (no blue cones) | #718086 | 0.048 |
| Achromatopsia (no color) | #7D7D7D | 0.055 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797A9E
#797A9E
oklch(59.2% 0.055 283.3)
- #838059
#838059
oklch(59.2% 0.056 104.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 #797A9E, 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.034
- Steel #738595 ΔE 0.039
- Grey Purple #826D8C ΔE 0.039
- Grey Blue #647D8E ΔE 0.042
- Light Slate Gray #778899 ΔE 0.043
- Purple Grey #866F85 ΔE 0.044
- Faded Purple #916E99 ΔE 0.046
Use #797A9E 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.