#796A9F
Closest named color: Dark Lavender (#856798). oklch(55.9% 0.082 296.7), rgb(121, 106, 159).
Aa
White text reads best on this color (4.79:1).
About this color
#796A9F is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.082 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.022 away. White text reads best on it, at 4.79:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.082) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.37:1 |
| White text | 4.79:1 |
Values
| HEX | #796A9F |
| RGB | rgb(121, 106, 159) |
| HSL | hsl(257, 22%, 52%) |
| OKLCH | oklch(55.9% 0.082 296.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 #796A9F | 4.79:1 | AA | Lc -78.7 | Fine for body text |
| Black text on #796A9F | 4.37:1 | AA large text | Lc 30.8 | Non-text elements, placeholder text |
| #796A9F text on white | 4.79:1 | AA | Lc 73.3 | Content text, not long reading |
| #796A9F text on black | 4.37:1 | AA large text | Lc -28.4 | Dividers and decoration only |
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
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#EAE8F0
oklch(93.5% 0.011 297.6)
-
Step 200
200
#DAD7E5
oklch(88.6% 0.019 295.8)
-
Step 300
300
#C2BCD6
oklch(80.8% 0.037 296.1)
-
Step 400
400
#A499C2
oklch(70.7% 0.06 297.1)
-
Step 500
500
#8E80B2
oklch(63.1% 0.075 297)
-
Step 600
600 (this color)
#796A9F
oklch(55.9% 0.082 296.7)
-
Step 700
700
#655787
oklch(49% 0.077 296.9)
-
Step 800
800
#52486E
oklch(42.8% 0.063 295.7)
-
Step 900
900
#443C59
oklch(37.7% 0.05 296.6)
-
Step 950
950
#282334
oklch(26.9% 0.032 297.7)
#796A9F 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) | #5D72A1 | 0.043 |
| Deuteranopia (no green cones) | #5F729E | 0.042 |
| Tritanopia (no blue cones) | #72737D | 0.067 |
| Achromatopsia (no color) | #727272 | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #796A9F
#796A9F
oklch(55.9% 0.082 296.7)
- #717B40
#717B40
oklch(56% 0.083 117.1)
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 #796A9F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.022
- Grey Purple #826D8C ΔE 0.036
- Dusty Purple #825F87 ΔE 0.043
- Faded Purple #916E99 ΔE 0.043
- Muted Purple #805B87 ΔE 0.048
- Purple Grey #866F85 ΔE 0.052
- Dark Lilac #9C6DA5 ΔE 0.060
- Dull Purple #84597E ΔE 0.060
Use #796A9F 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.