#796F87

Closest named color: Grey Purple (#826D8C). oklch(55.9% 0.038 304.1), rgb(121, 111, 135).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamuted (0.038)
Temperaturein between
Nearest nameGrey Purple (#826D8C)
Black text4.43:1
White text4.73:1

Values

HEX#796F87
RGBrgb(121, 111, 135)
HSLhsl(265, 10%, 48%)
OKLCHoklch(55.9% 0.038 304.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 #796F87 4.73:1 AA Lc -78.3 Fine for body text
Black text on #796F87 4.43:1 AA large text Lc 31.2 Non-text elements, placeholder text
#796F87 text on white 4.73:1 AA Lc 72.9 Content text, not long reading
#796F87 text on black 4.43:1 AA large text Lc -28.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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EAE9ED

    oklch(93.6% 0.005 297.7)

  3. Step 200

    200

    #DAD8DE

    oklch(88.6% 0.008 301.3)

  4. Step 300

    300

    #C3BECA

    oklch(80.9% 0.017 304.7)

  5. Step 400

    400

    #A49DAF

    oklch(70.8% 0.027 303.3)

  6. Step 500

    500

    #8E859B

    oklch(63.2% 0.034 304)

  7. Step 600

    600 (this color)

    #796F87

    oklch(55.9% 0.038 304.1)

  8. Step 700

    700

    #655C72

    oklch(49.1% 0.036 303.7)

  9. Step 800

    800

    #524B5C

    oklch(42.6% 0.029 303.9)

  10. Step 900

    900

    #443F4C

    oklch(37.8% 0.023 302.8)

  11. Step 950

    950

    #28252C

    oklch(27.1% 0.013 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#796F87 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)#6B73880.023
Deuteranopia (no green cones)#6D73860.021
Tritanopia (no blue cones)#7772770.030
Achromatopsia (no color)#7373730.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #796F87

    #796F87

    oklch(55.9% 0.038 304.1)

  • #6F7860

    #6F7860

    oklch(55.8% 0.037 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796F87

    #796F87

    oklch(55.9% 0.038 304.1)

  • #6D738B

    #6D738B

    oklch(55.9% 0.038 274.1)

  • #836C7E

    #836C7E

    oklch(55.9% 0.039 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #796F87

    #796F87

    oklch(55.9% 0.038 304.1)

  • #7B745B

    #7B745B

    oklch(55.8% 0.038 94.3)

  • #637B6A

    #637B6A

    oklch(55.9% 0.038 154.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796F87

    #796F87

    oklch(55.9% 0.038 304.1)

  • #85705D

    #85705D

    oklch(56% 0.039 64)

  • #5B7C77

    #5B7C77

    oklch(56% 0.038 184.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796F87

    #796F87

    oklch(55.9% 0.038 304.1)

  • #896D66

    #896D66

    oklch(56% 0.037 34.4)

  • #6F7860

    #6F7860

    oklch(55.8% 0.037 124.3)

  • #5A7A82

    #5A7A82

    oklch(55.8% 0.039 214.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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