#797899
Closest named color: Lavender Gray (#7E7F9A). oklch(58.6% 0.05 286.1), rgb(121, 120, 153).
Aa
Black text reads best on this color (4.95:1).
About this color
#797899 is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.050 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.022 away. Black text reads best on it, at 4.95:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | muted (0.050) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 4.95:1 |
| White text | 4.23:1 |
Values
| HEX | #797899 |
| RGB | rgb(121, 120, 153) |
| HSL | hsl(242, 14%, 54%) |
| OKLCH | oklch(58.6% 0.05 286.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 #797899 | 4.23:1 | AA large text | Lc -74.7 | Content text, not long reading |
| Black text on #797899 | 4.95:1 | AA | Lc 34.8 | Non-text elements, placeholder text |
| #797899 text on white | 4.23:1 | AA large text | Lc 69.2 | Content text, not long reading |
| #797899 text on black | 4.95:1 | AA | Lc -32.4 | 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
#D8D8E1
oklch(88.5% 0.012 286.1)
-
Step 300
300
#BFBFCF
oklch(81% 0.022 285.9)
-
Step 400
400
#9E9EB7
oklch(70.8% 0.036 285.4)
-
Step 500
500
#8786A5
oklch(63.2% 0.046 286.5)
-
Step 600
600 (this color)
#797899
oklch(58.6% 0.05 286.1)
-
Step 700
700
#5E5D7A
oklch(49.1% 0.046 286.1)
-
Step 800
800
#4D4C64
oklch(42.7% 0.039 286.5)
-
Step 900
900
#403F51
oklch(37.6% 0.031 287.4)
-
Step 950
950
#252530
oklch(26.9% 0.02 285)
#797899 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) | #707C9A | 0.016 |
| Deuteranopia (no green cones) | #6F7A98 | 0.015 |
| Tritanopia (no blue cones) | #727D83 | 0.043 |
| Achromatopsia (no color) | #7B7B7B | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797899
#797899
oklch(58.6% 0.05 286.1)
- #7F7E5B
#7F7E5B
oklch(58.5% 0.05 106.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 #797899, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.022
- Grey Purple #826D8C ΔE 0.033
- Slate Gray #708090 ΔE 0.033
- Purple Grey #866F85 ΔE 0.037
- Grey Blue #647D8E ΔE 0.039
- Steel #738595 ΔE 0.040
- Battleship Grey #6B7C85 ΔE 0.043
- Faded Purple #916E99 ΔE 0.044
Use #797899 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.