#796F8A
Closest named color: Grey Purple (#826D8C). oklch(56% 0.043 301.9), rgb(121, 111, 138).
Aa
White text reads best on this color (4.71:1).
About this color
#796F8A is a medium-dark, muted purple. In OKLCH its lightness is 56%, its chroma 0.043 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grey Purple (#826D8C), ΔE 0.016 away. White text reads best on it, at 4.71:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | muted (0.043) |
| Temperature | in between |
| Nearest name | Grey Purple (#826D8C) |
| Black text | 4.45:1 |
| White text | 4.71:1 |
Values
| HEX | #796F8A |
| RGB | rgb(121, 111, 138) |
| HSL | hsl(262, 11%, 49%) |
| OKLCH | oklch(56% 0.043 301.9) |
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 #796F8A | 4.71:1 | AA | Lc -78.2 | Fine for body text |
| Black text on #796F8A | 4.45:1 | AA large text | Lc 31.3 | Non-text elements, placeholder text |
| #796F8A text on white | 4.71:1 | AA | Lc 72.8 | Content text, not long reading |
| #796F8A text on black | 4.45:1 | AA large text | Lc -28.9 | 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
#F6F5F7
oklch(97.1% 0.003 308.4)
-
Step 100
100
#EAE9ED
oklch(93.6% 0.005 297.7)
-
Step 200
200
#DAD7DF
oklch(88.4% 0.011 303.1)
-
Step 300
300
#C3BECB
oklch(80.9% 0.019 303.4)
-
Step 400
400
#A49CB1
oklch(70.6% 0.031 302.9)
-
Step 500
500
#8E849E
oklch(63.1% 0.04 302.8)
-
Step 600
600 (this color)
#796F8A
oklch(56% 0.043 301.9)
-
Step 700
700
#655C74
oklch(49.2% 0.039 302.1)
-
Step 800
800
#524B5E
oklch(42.7% 0.032 301.9)
-
Step 900
900
#443F4D
oklch(37.8% 0.024 301.5)
-
Step 950
950
#28252D
oklch(27.1% 0.015 302.4)
#796F8A 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) | #6A738B | 0.024 |
| Deuteranopia (no green cones) | #6C7389 | 0.022 |
| Tritanopia (no blue cones) | #767378 | 0.034 |
| Achromatopsia (no color) | #737373 | 0.043 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #796F8A
#796F8A
oklch(56% 0.043 301.9)
- #70795D
#70795D
oklch(56.1% 0.043 122.3)
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 #796F8A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grey Purple #826D8C ΔE 0.016
- Purple Grey #866F85 ΔE 0.022
- Battleship Gray #6C757D ΔE 0.037
- Dark Lavender #856798 ΔE 0.040
- Dusty Purple #825F87 ΔE 0.044
- Battleship Grey #6B7C85 ΔE 0.044
- Grey Blue #647D8E ΔE 0.046
- Lavender Gray #7E7F9A ΔE 0.047
Use #796F8A 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.