#796D7C

Closest named color: Purple Grey (#866F85). oklch(55.1% 0.027 319.5), rgb(121, 109, 124).

Aa

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

About this color

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

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

Values

HEX#796D7C
RGBrgb(121, 109, 124)
HSLhsl(288, 6%, 46%)
OKLCHoklch(55.1% 0.027 319.5)

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 #796D7C 4.89:1 AA Lc -79.3 Fine for body text
Black text on #796D7C 4.29:1 AA large text Lc 30.2 Non-text elements, placeholder text
#796D7C text on white 4.89:1 AA Lc 73.9 Content text, not long reading
#796D7C text on black 4.29: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

    #A69DA8

    oklch(70.7% 0.019 320.1)

  6. Step 500

    500

    #908593

    oklch(63.1% 0.024 319)

  7. Step 600

    600 (this color)

    #796D7C

    oklch(55.1% 0.027 319.5)

  8. Step 700

    700

    #675C6A

    oklch(49% 0.026 319)

  9. Step 800

    800

    #544B56

    oklch(42.6% 0.021 320.1)

  10. Step 900

    900

    #453F47

    oklch(37.7% 0.016 317.7)

  11. Step 950

    950

    #29252A

    oklch(27.1% 0.011 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#796D7C 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)#6C707D0.021
Deuteranopia (no green cones)#6E717B0.020
Tritanopia (no blue cones)#796E720.017
Achromatopsia (no color)#7171710.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #796D7C

    #796D7C

    oklch(55.1% 0.027 319.5)

  • #6A7667

    #6A7667

    oklch(55.1% 0.027 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796D7C

    #796D7C

    oklch(55.1% 0.027 319.5)

  • #716F81

    #716F81

    oklch(55% 0.028 290.6)

  • #7F6C74

    #7F6C74

    oklch(55.2% 0.027 350.7)

Open the analogous palette in the generator

Split complementary

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

  • #796D7C

    #796D7C

    oklch(55.1% 0.027 319.5)

  • #737361

    #737361

    oklch(55% 0.027 107.3)

  • #63776F

    #63776F

    oklch(55.1% 0.027 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796D7C

    #796D7C

    oklch(55.1% 0.027 319.5)

  • #7A7060

    #7A7060

    oklch(55% 0.027 79.6)

  • #607778

    #607778

    oklch(55.1% 0.027 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796D7C

    #796D7C

    oklch(55.1% 0.027 319.5)

  • #806E64

    #806E64

    oklch(55.2% 0.027 50.9)

  • #6A7667

    #6A7667

    oklch(55.1% 0.027 139.4)

  • #62757F

    #62757F

    oklch(55.1% 0.027 230.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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