#9E798B

Closest named color: Purpley Grey (#947E94). oklch(61.8% 0.052 348), rgb(158, 121, 139).

Aa

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

About this color

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

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

Values

HEX#9E798B
RGBrgb(158, 121, 139)
HSLhsl(331, 16%, 55%)
OKLCHoklch(61.8% 0.052 348)

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 #9E798B 3.77:1 AA large text Lc -70.8 Content text, not long reading
Black text on #9E798B 5.56:1 AA Lc 38.8 Non-text elements, placeholder text
#9E798B text on white 3.77:1 AA large text Lc 65.3 Content text, not long reading
#9E798B text on black 5.56:1 AA Lc -36.4 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

    #E1D5DB

    oklch(88.4% 0.015 345.6)

  4. Step 300

    300

    #CEBAC3

    oklch(80.8% 0.026 348.7)

  5. Step 400

    400

    #B597A5

    oklch(70.8% 0.04 348.4)

  6. Step 500

    500 (this color)

    #9E798B

    oklch(61.8% 0.052 348)

  7. Step 600

    600

    #8D6679

    oklch(55.6% 0.057 348.3)

  8. Step 700

    700

    #785566

    oklch(49.2% 0.052 348.5)

  9. Step 800

    800

    #614553

    oklch(42.6% 0.044 347.7)

  10. Step 900

    900

    #503A45

    oklch(37.7% 0.035 347.5)

  11. Step 950

    950

    #2F2228

    oklch(27% 0.022 349.3)

Export this scale for Tailwind in the Tailwind colors tool

#9E798B 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)#7C808C0.054
Deuteranopia (no green cones)#84868A0.052
Tritanopia (no blue cones)#A3787F0.019
Achromatopsia (no color)#8383830.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E798B

    #9E798B

    oklch(61.8% 0.052 348)

  • #66907F

    #66907F

    oklch(61.7% 0.053 167.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E798B

    #9E798B

    oklch(61.8% 0.052 348)

  • #937C9A

    #937C9A

    oklch(61.8% 0.052 318.2)

  • #A3797A

    #A3797A

    oklch(61.8% 0.053 17.1)

Open the analogous palette in the generator

Split complementary

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

  • #9E798B

    #9E798B

    oklch(61.8% 0.052 348)

  • #768D6F

    #768D6F

    oklch(61.7% 0.052 138.4)

  • #5F8F91

    #5F8F91

    oklch(61.7% 0.052 199.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E798B

    #9E798B

    oklch(61.8% 0.052 348)

  • #888864

    #888864

    oklch(61.7% 0.051 107.8)

  • #648C9E

    #648C9E

    oklch(61.7% 0.052 227.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E798B

    #9E798B

    oklch(61.8% 0.052 348)

  • #978262

    #978262

    oklch(61.8% 0.052 78)

  • #66907F

    #66907F

    oklch(61.7% 0.053 167.6)

  • #7287A5

    #7287A5

    oklch(61.8% 0.052 257.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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