#9C798A

Closest named color: Purpley Grey (#947E94). oklch(61.5% 0.049 347.9), rgb(156, 121, 138).

Aa

Black text reads best on this color (5.51:1).

About this color

#9C798A is a medium-dark, muted red. In OKLCH its lightness is 62%, its chroma 0.049 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Grey (#947E94), ΔE 0.020 away. Black text reads best on it, at 5.51:1.

Hue familyReds
Lightnessmedium-dark (62%)
Chromamuted (0.049)
Temperaturewarm
Nearest namePurpley Grey (#947E94)
Black text5.51:1
White text3.80:1

Values

HEX#9C798A
RGBrgb(156, 121, 138)
HSLhsl(331, 15%, 54%)
OKLCHoklch(61.5% 0.049 347.9)

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 #9C798A 3.80:1 AA large text Lc -71.1 Content text, not long reading
Black text on #9C798A 5.51:1 AA Lc 38.5 Non-text elements, placeholder text
#9C798A text on white 3.80:1 AA large text Lc 65.6 Content text, not long reading
#9C798A text on black 5.51:1 AA Lc -36.1 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EEE8EB

    oklch(93.7% 0.008 345.4)

  3. Step 200

    200

    #E0D6DB

    oklch(88.6% 0.013 345.5)

  4. Step 300

    300

    #CDBBC3

    oklch(80.9% 0.023 348.9)

  5. Step 400

    400

    #B497A5

    oklch(70.7% 0.039 347.5)

  6. Step 500

    500 (this color)

    #9C798A

    oklch(61.5% 0.049 347.9)

  7. Step 600

    600

    #8C6779

    oklch(55.7% 0.054 348.3)

  8. Step 700

    700

    #775566

    oklch(49.1% 0.051 347.7)

  9. Step 800

    800

    #604653

    oklch(42.7% 0.041 347.5)

  10. Step 900

    900

    #4F3B45

    oklch(37.8% 0.032 347.2)

  11. Step 950

    950

    #2E2228

    oklch(26.8% 0.021 347.1)

Export this scale for Tailwind in the Tailwind colors tool

#9C798A 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)#7C7F8B0.051
Deuteranopia (no green cones)#8385890.049
Tritanopia (no blue cones)#A1787F0.017
Achromatopsia (no color)#8383830.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C798A

    #9C798A

    oklch(61.5% 0.049 347.9)

  • #688F7F

    #688F7F

    oklch(61.6% 0.05 167.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C798A

    #9C798A

    oklch(61.5% 0.049 347.9)

  • #917C98

    #917C98

    oklch(61.5% 0.048 317.6)

  • #A1797A

    #A1797A

    oklch(61.6% 0.05 17)

Open the analogous palette in the generator

Split complementary

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

  • #9C798A

    #9C798A

    oklch(61.5% 0.049 347.9)

  • #768C6F

    #768C6F

    oklch(61.4% 0.05 138.2)

  • #618E8F

    #618E8F

    oklch(61.5% 0.049 197.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C798A

    #9C798A

    oklch(61.5% 0.049 347.9)

  • #878765

    #878765

    oklch(61.4% 0.049 107.8)

  • #658B9C

    #658B9C

    oklch(61.5% 0.049 227.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C798A

    #9C798A

    oklch(61.5% 0.049 347.9)

  • #958163

    #958163

    oklch(61.4% 0.049 77.7)

  • #688F7F

    #688F7F

    oklch(61.6% 0.05 167.5)

  • #7286A3

    #7286A3

    oklch(61.5% 0.05 257.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9C798A 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.