#797AB4
Closest named color: Lavender Gray (#7E7F9A). oklch(60.2% 0.088 282.7), rgb(121, 122, 180).
Aa
Black text reads best on this color (5.25:1).
About this color
#797AB4 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.088 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.047 away. Black text reads best on it, at 5.25:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.088) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.25:1 |
| White text | 3.99:1 |
Values
| HEX | #797AB4 |
| RGB | rgb(121, 122, 180) |
| HSL | hsl(239, 28%, 59%) |
| OKLCH | oklch(60.2% 0.088 282.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 #797AB4 | 3.99:1 | AA large text | Lc -72.7 | Content text, not long reading |
| Black text on #797AB4 | 5.25:1 | AA | Lc 36.8 | Non-text elements, placeholder text |
| #797AB4 text on white | 3.99:1 | AA large text | Lc 67.2 | Content text, not long reading |
| #797AB4 text on black | 5.25:1 | AA | Lc -34.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 500.
-
Step 50
50
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#E8E9F2
oklch(93.6% 0.012 281.1)
-
Step 200
200
#D6D8E9
oklch(88.6% 0.023 280.6)
-
Step 300
300
#BCBEDC
oklch(81% 0.042 282.4)
-
Step 400
400
#9A9CCB
oklch(70.8% 0.068 282.6)
-
Step 500
500 (this color)
#797AB4
oklch(60.2% 0.088 282.7)
-
Step 600
600
#6B6CAA
oklch(55.7% 0.095 282.1)
-
Step 700
700
#5A5A91
oklch(49.2% 0.087 282.7)
-
Step 800
800
#494976
oklch(42.6% 0.074 282.8)
-
Step 900
900
#3D3E5F
oklch(37.8% 0.056 282)
-
Step 950
950
#242438
oklch(27% 0.037 283.7)
#797AB4 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) | #6981B6 | 0.027 |
| Deuteranopia (no green cones) | #667DB3 | 0.026 |
| Tritanopia (no blue cones) | #6A858F | 0.077 |
| Achromatopsia (no color) | #7F7F7F | 0.088 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797AB4
#797AB4
oklch(60.2% 0.088 282.7)
- #8B8341
#8B8341
oklch(60.2% 0.088 102.4)
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 #797AB4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.047
- Faded Blue #658CBB ΔE 0.052
- Off Blue #5684AE ΔE 0.052
- Dusty Blue #5A86AD ΔE 0.053
- Faded Purple #916E99 ΔE 0.055
- Deep Lilac #966EBD ΔE 0.056
- Dark Lavender #856798 ΔE 0.059
- Cool Blue #4984B8 ΔE 0.059
Use #797AB4 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.