#9C798E

Closest named color: Purpley Grey (#947E94). oklch(61.7% 0.052 342.1), rgb(156, 121, 142).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (62%)
Chromamuted (0.052)
Temperaturewarm
Nearest namePurpley Grey (#947E94)
Black text5.53:1
White text3.79:1

Values

HEX#9C798E
RGBrgb(156, 121, 142)
HSLhsl(324, 15%, 54%)
OKLCHoklch(61.7% 0.052 342.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 #9C798E 3.79:1 AA large text Lc -70.9 Content text, not long reading
Black text on #9C798E 5.53:1 AA Lc 38.7 Non-text elements, placeholder text
#9C798E text on white 3.79:1 AA large text Lc 65.4 Content text, not long reading
#9C798E text on black 5.53:1 AA Lc -36.3 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

    #E0D6DC

    oklch(88.6% 0.014 340.6)

  4. Step 300

    300

    #CDBAC5

    oklch(80.8% 0.026 342)

  5. Step 400

    400

    #B397A8

    oklch(70.7% 0.041 341.1)

  6. Step 500

    500 (this color)

    #9C798E

    oklch(61.7% 0.052 342.1)

  7. Step 600

    600

    #8B667D

    oklch(55.5% 0.058 341.4)

  8. Step 700

    700

    #765569

    oklch(49.1% 0.052 342.2)

  9. Step 800

    800

    #604656

    oklch(42.8% 0.043 341.6)

  10. Step 900

    900

    #4F3B47

    oklch(37.9% 0.034 342.2)

  11. Step 950

    950

    #2E2229

    oklch(26.9% 0.022 342.8)

Export this scale for Tailwind in the Tailwind colors tool

#9C798E 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)#7B808F0.052
Deuteranopia (no green cones)#82858D0.050
Tritanopia (no blue cones)#A179800.022
Achromatopsia (no color)#8383830.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C798E

    #9C798E

    oklch(61.7% 0.052 342.1)

  • #698F7C

    #698F7C

    oklch(61.6% 0.051 162.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C798E

    #9C798E

    oklch(61.7% 0.052 342.1)

  • #907C9C

    #907C9C

    oklch(61.6% 0.053 312.7)

  • #A2787D

    #A2787D

    oklch(61.6% 0.053 10.8)

Open the analogous palette in the generator

Split complementary

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

  • #9C798E

    #9C798E

    oklch(61.7% 0.052 342.1)

  • #798C6C

    #798C6C

    oklch(61.6% 0.052 132.8)

  • #5F908D

    #5F908D

    oklch(61.8% 0.053 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C798E

    #9C798E

    oklch(61.7% 0.052 342.1)

  • #8B8762

    #8B8762

    oklch(61.7% 0.053 102.6)

  • #628D9C

    #628D9C

    oklch(61.8% 0.052 221.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C798E

    #9C798E

    oklch(61.7% 0.052 342.1)

  • #998062

    #998062

    oklch(61.5% 0.053 71.7)

  • #698F7C

    #698F7C

    oklch(61.6% 0.051 162.7)

  • #6F88A4

    #6F88A4

    oklch(61.8% 0.051 251.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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