#8A7B87

Closest named color: Gray (#808080). oklch(60% 0.025 332.6), rgb(138, 123, 135).

Aa

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

About this color

#8A7B87 is a medium-dark close to neutral grey. In OKLCH its lightness is 60%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Gray (#808080), ΔE 0.025 away. Black text reads best on it, at 5.26:1.

Hue familyNeutrals
Lightnessmedium-dark (60%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameGray (#808080)
Black text5.26:1
White text3.98:1

Values

HEX#8A7B87
RGBrgb(138, 123, 135)
HSLhsl(312, 6%, 51%)
OKLCHoklch(60% 0.025 332.6)

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 #8A7B87 3.98:1 AA large text Lc -72.7 Content text, not long reading
Black text on #8A7B87 5.26:1 AA Lc 36.8 Non-text elements, placeholder text
#8A7B87 text on white 3.98:1 AA large text Lc 67.2 Content text, not long reading
#8A7B87 text on black 5.26:1 AA Lc -34.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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EB

    oklch(93.6% 0.003 325.6)

  3. Step 200

    200

    #DCD7DB

    oklch(88.4% 0.008 332.1)

  4. Step 300

    300

    #C6BEC4

    oklch(81% 0.012 334.1)

  5. Step 400

    400

    #A99CA6

    oklch(70.7% 0.021 333.6)

  6. Step 500

    500 (this color)

    #8A7B87

    oklch(60% 0.025 332.6)

  7. Step 600

    600

    #7E6E7A

    oklch(55.7% 0.027 334.7)

  8. Step 700

    700

    #6A5C67

    oklch(49.2% 0.025 333.3)

  9. Step 800

    800

    #564B54

    oklch(42.7% 0.02 332)

  10. Step 900

    900

    #473E45

    oklch(37.6% 0.017 333.5)

  11. Step 950

    950

    #2A2529

    oklch(27.2% 0.01 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A7B87 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)#7B7E880.023
Deuteranopia (no green cones)#7E80860.022
Tritanopia (no blue cones)#8C7C7F0.014
Achromatopsia (no color)#7F7F7F0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7B87

    #8A7B87

    oklch(60% 0.025 332.6)

  • #758579

    #758579

    oklch(60% 0.026 153.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7B87

    #8A7B87

    oklch(60% 0.025 332.6)

  • #837D8D

    #837D8D

    oklch(60% 0.025 302.7)

  • #8E7A7F

    #8E7A7F

    oklch(60% 0.026 1)

Open the analogous palette in the generator

Split complementary

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

  • #8A7B87

    #8A7B87

    oklch(60% 0.025 332.6)

  • #7D8372

    #7D8372

    oklch(60% 0.026 123)

  • #708682

    #708682

    oklch(60.1% 0.026 183.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7B87

    #8A7B87

    oklch(60% 0.025 332.6)

  • #858070

    #858070

    oklch(60% 0.024 92.6)

  • #708589

    #708589

    oklch(60.1% 0.025 210.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7B87

    #8A7B87

    oklch(60% 0.025 332.6)

  • #8C7D71

    #8C7D71

    oklch(60% 0.026 61)

  • #758579

    #758579

    oklch(60% 0.026 153.1)

  • #74838F

    #74838F

    oklch(60.2% 0.025 242.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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