#796A7E

Closest named color: Grey Purple (#826D8C). oklch(54.5% 0.035 317.7), rgb(121, 106, 126).

Aa

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

About this color

#796A7E is a medium-dark, muted purple. In OKLCH its lightness is 55%, its chroma 0.035 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grey Purple (#826D8C), ΔE 0.027 away. White text reads best on it, at 5.02:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamuted (0.035)
Temperaturein between
Nearest nameGrey Purple (#826D8C)
Black text4.17:1
White text5.02:1

Values

HEX#796A7E
RGBrgb(121, 106, 126)
HSLhsl(285, 9%, 45%)
OKLCHoklch(54.5% 0.035 317.7)

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 #796A7E 5.02:1 AA Lc -80.2 Fine for body text
Black text on #796A7E 4.17:1 AA large text Lc 29.3 Dividers and decoration only
#796A7E text on white 5.02:1 AA Lc 74.8 Content text, not long reading
#796A7E text on black 4.17:1 AA large text Lc -26.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.

  1. Step 50

    50

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EC

    oklch(93.6% 0.005 314.8)

  3. Step 200

    200

    #DBD7DD

    oklch(88.4% 0.009 314.8)

  4. Step 300

    300

    #C5BEC7

    oklch(81% 0.015 318.7)

  5. Step 400

    400

    #A79CAB

    oklch(70.7% 0.025 317.1)

  6. Step 500

    500

    #928497

    oklch(63.2% 0.032 317.2)

  7. Step 600

    600 (this color)

    #796A7E

    oklch(54.5% 0.035 317.7)

  8. Step 700

    700

    #695B6D

    oklch(49.1% 0.033 318.7)

  9. Step 800

    800

    #554A59

    oklch(42.6% 0.028 317)

  10. Step 900

    900

    #463E49

    oklch(37.6% 0.021 316.8)

  11. Step 950

    950

    #29242B

    oklch(26.9% 0.015 316.4)

Export this scale for Tailwind in the Tailwind colors tool

#796A7E 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)#686E7F0.027
Deuteranopia (no green cones)#6B6F7D0.025
Tritanopia (no blue cones)#796C710.023
Achromatopsia (no color)#6F6F6F0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #796A7E

    #796A7E

    oklch(54.5% 0.035 317.7)

  • #667561

    #667561

    oklch(54.4% 0.035 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796A7E

    #796A7E

    oklch(54.5% 0.035 317.7)

  • #6F6D84

    #6F6D84

    oklch(54.5% 0.036 289.1)

  • #816874

    #816874

    oklch(54.6% 0.036 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #796A7E

    #796A7E

    oklch(54.5% 0.035 317.7)

  • #72725A

    #72725A

    oklch(54.5% 0.036 107.5)

  • #5D776C

    #5D776C

    oklch(54.5% 0.035 167.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796A7E

    #796A7E

    oklch(54.5% 0.035 317.7)

  • #7C6E59

    #7C6E59

    oklch(54.5% 0.036 77.9)

  • #587777

    #587777

    oklch(54.5% 0.036 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796A7E

    #796A7E

    oklch(54.5% 0.035 317.7)

  • #826A5F

    #826A5F

    oklch(54.4% 0.035 46)

  • #667561

    #667561

    oklch(54.4% 0.035 137.9)

  • #5B7581

    #5B7581

    oklch(54.6% 0.036 227.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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