#786C7F

Closest named color: Purple Grey (#866F85). oklch(54.9% 0.032 313.2), rgb(120, 108, 127).

Aa

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

About this color

#786C7F is a medium-dark, muted purple. In OKLCH its lightness is 55%, its chroma 0.032 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Grey (#866F85), ΔE 0.026 away. White text reads best on it, at 4.94:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamuted (0.032)
Temperaturein between
Nearest namePurple Grey (#866F85)
Black text4.25:1
White text4.94:1

Values

HEX#786C7F
RGBrgb(120, 108, 127)
HSLhsl(278, 8%, 46%)
OKLCHoklch(54.9% 0.032 313.2)

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 #786C7F 4.94:1 AA Lc -79.6 Fine for body text
Black text on #786C7F 4.25:1 AA large text Lc 29.9 Dividers and decoration only
#786C7F text on white 4.94:1 AA Lc 74.2 Content text, not long reading
#786C7F text on black 4.25:1 AA large text Lc -27.5 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

    #EBE9EC

    oklch(93.6% 0.005 314.8)

  3. Step 200

    200

    #DBD8DD

    oklch(88.6% 0.007 312.3)

  4. Step 300

    300

    #C4BEC7

    oklch(80.9% 0.014 314.7)

  5. Step 400

    400

    #A69DAB

    oklch(70.8% 0.022 313.8)

  6. Step 500

    500

    #908497

    oklch(63% 0.031 313.2)

  7. Step 600

    600 (this color)

    #786C7F

    oklch(54.9% 0.032 313.2)

  8. Step 700

    700

    #675C6D

    oklch(49.1% 0.03 313.8)

  9. Step 800

    800

    #544B59

    oklch(42.7% 0.025 313.6)

  10. Step 900

    900

    #453F49

    oklch(37.7% 0.019 312)

  11. Step 950

    950

    #29252B

    oklch(27.1% 0.012 314.6)

Export this scale for Tailwind in the Tailwind colors tool

#786C7F 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)#6A6F800.022
Deuteranopia (no green cones)#6C707E0.021
Tritanopia (no blue cones)#786E720.023
Achromatopsia (no color)#7070700.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #786C7F

    #786C7F

    oklch(54.9% 0.032 313.2)

  • #6A7662

    #6A7662

    oklch(55% 0.034 132.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786C7F

    #786C7F

    oklch(54.9% 0.032 313.2)

  • #6E6F84

    #6E6F84

    oklch(54.8% 0.033 283.1)

  • #7F6A76

    #7F6A76

    oklch(54.8% 0.032 342.9)

Open the analogous palette in the generator

Split complementary

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

  • #786C7F

    #786C7F

    oklch(54.9% 0.032 313.2)

  • #74725D

    #74725D

    oklch(54.8% 0.031 102.9)

  • #61776C

    #61776C

    oklch(54.8% 0.031 163.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786C7F

    #786C7F

    oklch(54.9% 0.032 313.2)

  • #7D6F5D

    #7D6F5D

    oklch(55% 0.032 74)

  • #5C7876

    #5C7876

    oklch(55% 0.033 190.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786C7F

    #786C7F

    oklch(54.9% 0.032 313.2)

  • #826C62

    #826C62

    oklch(55% 0.032 45.8)

  • #6A7662

    #6A7662

    oklch(55% 0.034 132.8)

  • #5D767F

    #5D767F

    oklch(54.9% 0.032 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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