#797893
Closest named color: Lavender Gray (#7E7F9A). oklch(58.3% 0.041 286.7), rgb(121, 120, 147).
Aa
Black text reads best on this color (4.92:1).
About this color
#797893 is a medium-dark, muted purple. In OKLCH its lightness is 58%, its chroma 0.041 and its hue 287°. 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.92:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | muted (0.041) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 4.92:1 |
| White text | 4.26:1 |
Values
| HEX | #797893 |
| RGB | rgb(121, 120, 147) |
| HSL | hsl(242, 11%, 52%) |
| OKLCH | oklch(58.3% 0.041 286.7) |
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 #797893 | 4.26:1 | AA large text | Lc -75.0 | Fine for body text |
| Black text on #797893 | 4.92:1 | AA | Lc 34.6 | Non-text elements, placeholder text |
| #797893 text on white | 4.26:1 | AA large text | Lc 69.5 | Content text, not long reading |
| #797893 text on black | 4.92:1 | AA | Lc -32.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
#E9E9ED
oklch(93.5% 0.005 286.3)
-
Step 200
200
#D8D8E0
oklch(88.5% 0.011 286.2)
-
Step 300
300
#BFBFCC
oklch(80.9% 0.018 286)
-
Step 400
400
#9F9EB3
oklch(70.7% 0.03 287.8)
-
Step 500
500
#8786A0
oklch(63% 0.039 287)
-
Step 600
600 (this color)
#797893
oklch(58.3% 0.041 286.7)
-
Step 700
700
#5F5E76
oklch(49.2% 0.038 286.8)
-
Step 800
800
#4D4D60
oklch(42.8% 0.031 285)
-
Step 900
900
#40404E
oklch(37.7% 0.024 285.2)
-
Step 950
950
#26252E
oklch(26.9% 0.017 290.3)
#797893 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) | #727B94 | 0.012 |
| Deuteranopia (no green cones) | #717A92 | 0.013 |
| Tritanopia (no blue cones) | #747C81 | 0.035 |
| Achromatopsia (no color) | #7A7A7A | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797893
#797893
oklch(58.3% 0.041 286.7)
- #7E7D61
#7E7D61
oklch(58.3% 0.041 105.9)
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 #797893, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.022
- Slate Gray #708090 ΔE 0.027
- Grey Purple #826D8C ΔE 0.031
- Purple Grey #866F85 ΔE 0.032
- Grey Blue #647D8E ΔE 0.034
- Battleship Grey #6B7C85 ΔE 0.035
- Steel #738595 ΔE 0.037
- Steel Grey #6F828A ΔE 0.038
Use #797893 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.