#796997
Closest named color: Dark Lavender (#856798). oklch(55.4% 0.072 300), rgb(121, 105, 151).
Aa
White text reads best on this color (4.90:1).
About this color
#796997 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.072 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.020 away. White text reads best on it, at 4.90:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | moderately saturated (0.072) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.28:1 |
| White text | 4.90:1 |
Values
| HEX | #796997 |
| RGB | rgb(121, 105, 151) |
| HSL | hsl(261, 18%, 50%) |
| OKLCH | oklch(55.4% 0.072 300) |
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 #796997 | 4.90:1 | AA | Lc -79.4 | Fine for body text |
| Black text on #796997 | 4.28:1 | AA large text | Lc 30.1 | Non-text elements, placeholder text |
| #796997 text on white | 4.90:1 | AA | Lc 74.0 | Content text, not long reading |
| #796997 text on black | 4.28:1 | AA large text | Lc -27.7 | 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
#EBE8EF
oklch(93.5% 0.01 305.4)
-
Step 200
200
#DBD7E4
oklch(88.6% 0.018 300)
-
Step 300
300
#C3BCD3
oklch(80.8% 0.033 299.5)
-
Step 400
400
#A59ABD
oklch(70.7% 0.052 299.4)
-
Step 500
500
#8F81AC
oklch(63.1% 0.065 299.4)
-
Step 600
600 (this color)
#796997
oklch(55.4% 0.072 300)
-
Step 700
700
#665881
oklch(49% 0.066 299.6)
-
Step 800
800
#544869
oklch(42.7% 0.056 300.8)
-
Step 900
900
#453C55
oklch(37.6% 0.043 300.8)
-
Step 950
950
#282332
oklch(26.8% 0.028 299.8)
#796997 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) | #5F7199 | 0.042 |
| Deuteranopia (no green cones) | #627096 | 0.038 |
| Tritanopia (no blue cones) | #747079 | 0.058 |
| Achromatopsia (no color) | #717171 | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #796997
#796997
oklch(55.4% 0.072 300)
- #6D7948
#6D7948
oklch(55.4% 0.072 120)
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 #796997, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.020
- Grey Purple #826D8C ΔE 0.028
- Dusty Purple #825F87 ΔE 0.033
- Muted Purple #805B87 ΔE 0.040
- Purple Grey #866F85 ΔE 0.043
- Faded Purple #916E99 ΔE 0.043
- Dull Purple #84597E ΔE 0.051
- Dusky Purple #895B7B ΔE 0.053
Use #796997 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.