#796D7E

Closest named color: Purple Grey (#866F85). oklch(55.2% 0.03 316.1), rgb(121, 109, 126).

Aa

White text reads best on this color (4.88:1).

About this color

#796D7E is a medium-dark close to neutral grey. In OKLCH its lightness is 55%, its chroma 0.030. It has too little chroma to lean warm or cool. The nearest named color is Purple Grey (#866F85), ΔE 0.025 away. White text reads best on it, at 4.88:1.

Hue familyNeutrals
Lightnessmedium-dark (55%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest namePurple Grey (#866F85)
Black text4.30:1
White text4.88:1

Values

HEX#796D7E
RGBrgb(121, 109, 126)
HSLhsl(282, 7%, 46%)
OKLCHoklch(55.2% 0.03 316.1)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #796D7E 4.88:1 AA Lc -79.3 Fine for body text
Black text on #796D7E 4.30:1 AA large text Lc 30.2 Non-text elements, placeholder text
#796D7E text on white 4.88:1 AA Lc 73.9 Content text, not long reading
#796D7E text on black 4.30:1 AA large text Lc -27.8 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.

  1. Step 50

    50

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EB

    oklch(93.6% 0.003 325.6)

  3. Step 200

    200

    #DBD8DC

    oklch(88.6% 0.006 317.8)

  4. Step 300

    300

    #C4BEC6

    oklch(80.9% 0.013 317.7)

  5. Step 400

    400

    #A69DAA

    oklch(70.8% 0.021 315.6)

  6. Step 500

    500

    #908595

    oklch(63.2% 0.027 315.4)

  7. Step 600

    600 (this color)

    #796D7E

    oklch(55.2% 0.03 316.1)

  8. Step 700

    700

    #675C6B

    oklch(49.1% 0.027 317.1)

  9. Step 800

    800

    #544B58

    oklch(42.6% 0.024 315.5)

  10. Step 900

    900

    #453F48

    oklch(37.7% 0.017 314.6)

  11. Step 950

    950

    #29252A

    oklch(27.1% 0.011 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#796D7E 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6B707F0.022
Deuteranopia (no green cones)#6D717D0.021
Tritanopia (no blue cones)#796F730.020
Achromatopsia (no color)#7171710.030

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #796D7E

    #796D7E

    oklch(55.2% 0.03 316.1)

  • #6A7665

    #6A7665

    oklch(55.1% 0.03 136.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796D7E

    #796D7E

    oklch(55.2% 0.03 316.1)

  • #707083

    #707083

    oklch(55.2% 0.029 285.4)

  • #806B76

    #806B76

    oklch(55.1% 0.031 345.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #796D7E

    #796D7E

    oklch(55.2% 0.03 316.1)

  • #747360

    #747360

    oklch(55.1% 0.028 104.8)

  • #62786E

    #62786E

    oklch(55.2% 0.03 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796D7E

    #796D7E

    oklch(55.2% 0.03 316.1)

  • #7C705F

    #7C705F

    oklch(55.1% 0.03 76.6)

  • #5E7878

    #5E7878

    oklch(55.2% 0.03 196.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796D7E

    #796D7E

    oklch(55.2% 0.03 316.1)

  • #816D64

    #816D64

    oklch(55.1% 0.029 45.6)

  • #6A7665

    #6A7665

    oklch(55.1% 0.03 136.4)

  • #60767F

    #60767F

    oklch(55.1% 0.029 224.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #796D7E, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #796D7E 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.