#796B7C

Closest named color: Purple Grey (#866F85). oklch(54.7% 0.031 320.3), rgb(121, 107, 124).

Aa

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

About this color

#796B7C is a medium-dark, muted purple. In OKLCH its lightness is 55%, its chroma 0.031 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Grey (#866F85), ΔE 0.028 away. White text reads best on it, at 4.99:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamuted (0.031)
Temperaturein between
Nearest namePurple Grey (#866F85)
Black text4.20:1
White text4.99:1

Values

HEX#796B7C
RGBrgb(121, 107, 124)
HSLhsl(289, 7%, 45%)
OKLCHoklch(54.7% 0.031 320.3)

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 #796B7C 4.99:1 AA Lc -79.9 Fine for body text
Black text on #796B7C 4.20:1 AA large text Lc 29.5 Dividers and decoration only
#796B7C text on white 4.99:1 AA Lc 74.5 Content text, not long reading
#796B7C text on black 4.20:1 AA large text Lc -27.2 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

    #DBD7DC

    oklch(88.4% 0.008 319.4)

  4. Step 300

    300

    #C5BEC6

    oklch(81% 0.013 321.9)

  5. Step 400

    400

    #A79CA9

    oklch(70.6% 0.022 321)

  6. Step 500

    500

    #918494

    oklch(63% 0.028 319.9)

  7. Step 600

    600 (this color)

    #796B7C

    oklch(54.7% 0.031 320.3)

  8. Step 700

    700

    #685C6B

    oklch(49.2% 0.028 319.5)

  9. Step 800

    800

    #554B57

    oklch(42.7% 0.023 320.6)

  10. Step 900

    900

    #463E48

    oklch(37.6% 0.02 319.5)

  11. Step 950

    950

    #29252A

    oklch(27.1% 0.011 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#796B7C 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)#696F7D0.026
Deuteranopia (no green cones)#6C707B0.024
Tritanopia (no blue cones)#796D710.020
Achromatopsia (no color)#6F6F6F0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #796B7C

    #796B7C

    oklch(54.7% 0.031 320.3)

  • #677564

    #677564

    oklch(54.6% 0.031 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796B7C

    #796B7C

    oklch(54.7% 0.031 320.3)

  • #706E82

    #706E82

    oklch(54.7% 0.031 289.9)

  • #7F6973

    #7F6973

    oklch(54.5% 0.031 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #796B7C

    #796B7C

    oklch(54.7% 0.031 320.3)

  • #71725E

    #71725E

    oklch(54.5% 0.03 109.7)

  • #5F776E

    #5F776E

    oklch(54.7% 0.031 170.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796B7C

    #796B7C

    oklch(54.7% 0.031 320.3)

  • #7A6F5C

    #7A6F5C

    oklch(54.6% 0.032 81.3)

  • #5C7678

    #5C7678

    oklch(54.6% 0.03 202.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796B7C

    #796B7C

    oklch(54.7% 0.031 320.3)

  • #806C61

    #806C61

    oklch(54.7% 0.031 50.5)

  • #677564

    #677564

    oklch(54.6% 0.031 140.2)

  • #5F747F

    #5F747F

    oklch(54.6% 0.03 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 #796B7C, closest first.

Similar named colors

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

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