#797996
Closest named color: Lavender Gray (#7E7F9A). oklch(58.7% 0.044 285), rgb(121, 121, 150).
Aa
Black text reads best on this color (4.98:1).
About this color
#797996 is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.044 and its hue 285°. 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 4.98:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | muted (0.044) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 4.98:1 |
| White text | 4.20:1 |
Values
| HEX | #797996 |
| RGB | rgb(121, 121, 150) |
| HSL | hsl(240, 12%, 53%) |
| OKLCH | oklch(58.7% 0.044 285) |
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 #797996 | 4.20:1 | AA large text | Lc -74.5 | Content text, not long reading |
| Black text on #797996 | 4.98:1 | AA | Lc 35.0 | Non-text elements, placeholder text |
| #797996 text on white | 4.20:1 | AA large text | Lc 69.1 | Content text, not long reading |
| #797996 text on black | 4.98:1 | AA | Lc -32.6 | 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
#E9E9EE
oklch(93.5% 0.007 286.3)
-
Step 200
200
#D8D8E0
oklch(88.5% 0.011 286.2)
-
Step 300
300
#BFBFCD
oklch(80.9% 0.02 286)
-
Step 400
400
#9E9EB4
oklch(70.6% 0.032 285.6)
-
Step 500
500
#8686A2
oklch(63% 0.042 285.1)
-
Step 600
600 (this color)
#797996
oklch(58.7% 0.044 285)
-
Step 700
700
#5E5E78
oklch(49.2% 0.041 284.8)
-
Step 800
800
#4D4D61
oklch(42.8% 0.033 284.9)
-
Step 900
900
#40404F
oklch(37.7% 0.025 285.1)
-
Step 950
950
#25252E
oklch(26.8% 0.017 285.2)
#797996 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) | #727C97 | 0.012 |
| Deuteranopia (no green cones) | #717B95 | 0.013 |
| Tritanopia (no blue cones) | #737E83 | 0.038 |
| Achromatopsia (no color) | #7B7B7B | 0.044 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797996
#797996
oklch(58.7% 0.044 285)
- #807E60
#807E60
oklch(58.7% 0.044 104.5)
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 #797996, 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.027
- Grey Purple #826D8C ΔE 0.034
- Grey Blue #647D8E ΔE 0.035
- Purple Grey #866F85 ΔE 0.035
- Steel #738595 ΔE 0.035
- Battleship Grey #6B7C85 ΔE 0.037
- Steel Grey #6F828A ΔE 0.039
Use #797996 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.