#786C7B

Closest named color: Purple Grey (#866F85). oklch(54.7% 0.027 319.5), rgb(120, 108, 123).

Aa

White text reads best on this color (4.96:1).

About this color

#786C7B is a medium-dark close to neutral grey. In OKLCH its lightness is 55%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Purple Grey (#866F85), ΔE 0.029 away. White text reads best on it, at 4.96:1.

Hue familyNeutrals
Lightnessmedium-dark (55%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest namePurple Grey (#866F85)
Black text4.22:1
White text4.96:1

Values

HEX#786C7B
RGBrgb(120, 108, 123)
HSLhsl(288, 6%, 45%)
OKLCHoklch(54.7% 0.027 319.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 #786C7B 4.96:1 AA Lc -79.8 Fine for body text
Black text on #786C7B 4.22:1 AA large text Lc 29.7 Dividers and decoration only
#786C7B text on white 4.96:1 AA Lc 74.4 Content text, not long reading
#786C7B text on black 4.22:1 AA large text Lc -27.3 Dividers and decoration only

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

  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

    #DBD8DC

    oklch(88.6% 0.006 317.8)

  4. Step 300

    300

    #C4BEC6

    oklch(80.9% 0.013 317.7)

  5. Step 400

    400

    #A69DA8

    oklch(70.7% 0.019 320.1)

  6. Step 500

    500

    #908593

    oklch(63.1% 0.024 319)

  7. Step 600

    600 (this color)

    #786C7B

    oklch(54.7% 0.027 319.5)

  8. Step 700

    700

    #675C6A

    oklch(49% 0.026 319)

  9. Step 800

    800

    #544B56

    oklch(42.6% 0.021 320.1)

  10. Step 900

    900

    #453F47

    oklch(37.7% 0.016 317.7)

  11. Step 950

    950

    #29252A

    oklch(27.1% 0.011 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#786C7B 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)#6B6F7C0.021
Deuteranopia (no green cones)#6D707A0.020
Tritanopia (no blue cones)#786D710.017
Achromatopsia (no color)#7070700.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #786C7B

    #786C7B

    oklch(54.7% 0.027 319.5)

  • #697566

    #697566

    oklch(54.8% 0.027 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786C7B

    #786C7B

    oklch(54.7% 0.027 319.5)

  • #706E80

    #706E80

    oklch(54.6% 0.028 290.5)

  • #7E6B73

    #7E6B73

    oklch(54.8% 0.027 350.7)

Open the analogous palette in the generator

Split complementary

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

  • #786C7B

    #786C7B

    oklch(54.7% 0.027 319.5)

  • #727260

    #727260

    oklch(54.7% 0.027 107.3)

  • #62766E

    #62766E

    oklch(54.7% 0.027 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786C7B

    #786C7B

    oklch(54.7% 0.027 319.5)

  • #796F5F

    #796F5F

    oklch(54.6% 0.027 79.6)

  • #5F7677

    #5F7677

    oklch(54.8% 0.027 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786C7B

    #786C7B

    oklch(54.7% 0.027 319.5)

  • #7F6D63

    #7F6D63

    oklch(54.9% 0.027 50.9)

  • #697566

    #697566

    oklch(54.8% 0.027 139.4)

  • #61747E

    #61747E

    oklch(54.7% 0.027 230.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #786C7B 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.