#8A798F

Closest named color: Purpley Grey (#947E94). oklch(59.9% 0.038 318.5), rgb(138, 121, 143).

Aa

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

About this color

#8A798F is a medium-dark, muted purple. In OKLCH its lightness is 60%, its chroma 0.038 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Grey (#947E94), ΔE 0.022 away. Black text reads best on it, at 5.21:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamuted (0.038)
Temperaturein between
Nearest namePurpley Grey (#947E94)
Black text5.21:1
White text4.02:1

Values

HEX#8A798F
RGBrgb(138, 121, 143)
HSLhsl(286, 9%, 52%)
OKLCHoklch(59.9% 0.038 318.5)

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 #8A798F 4.02:1 AA large text Lc -73.1 Content text, not long reading
Black text on #8A798F 5.21:1 AA Lc 36.5 Non-text elements, placeholder text
#8A798F text on white 4.02:1 AA large text Lc 67.6 Content text, not long reading
#8A798F text on black 5.21:1 AA Lc -34.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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EC

    oklch(93.6% 0.005 314.8)

  3. Step 200

    200

    #DCD7DE

    oklch(88.5% 0.011 316.5)

  4. Step 300

    300

    #C6BDC9

    oklch(80.9% 0.019 317.7)

  5. Step 400

    400

    #A99BAD

    oklch(70.7% 0.03 318.7)

  6. Step 500

    500 (this color)

    #8A798F

    oklch(59.9% 0.038 318.5)

  7. Step 600

    600

    #7E6C83

    oklch(55.6% 0.041 318.8)

  8. Step 700

    700

    #6A5A6F

    oklch(49.1% 0.038 318.1)

  9. Step 800

    800

    #574A5B

    oklch(42.9% 0.032 318.2)

  10. Step 900

    900

    #473E4A

    oklch(37.8% 0.023 317.7)

  11. Step 950

    950

    #2A242B

    oklch(27% 0.015 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A798F 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)#777D900.029
Deuteranopia (no green cones)#7A7F8E0.028
Tritanopia (no blue cones)#8A7B800.026
Achromatopsia (no color)#7F7F7F0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A798F

    #8A798F

    oklch(59.9% 0.038 318.5)

  • #758670

    #758670

    oklch(60% 0.038 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A798F

    #8A798F

    oklch(59.9% 0.038 318.5)

  • #7E7D96

    #7E7D96

    oklch(59.9% 0.038 287)

  • #927784

    #927784

    oklch(59.9% 0.038 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A798F

    #8A798F

    oklch(59.9% 0.038 318.5)

  • #828268

    #828268

    oklch(59.9% 0.038 107.5)

  • #6A887C

    #6A887C

    oklch(60% 0.039 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A798F

    #8A798F

    oklch(59.9% 0.038 318.5)

  • #8D7E66

    #8D7E66

    oklch(60% 0.039 79.5)

  • #658788

    #658788

    oklch(59.8% 0.038 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A798F

    #8A798F

    oklch(59.9% 0.038 318.5)

  • #947A6C

    #947A6C

    oklch(60% 0.039 49.9)

  • #758670

    #758670

    oklch(60% 0.038 138.6)

  • #688592

    #688592

    oklch(59.9% 0.039 227.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A798F 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.