#786A8A

Closest named color: Grey Purple (#826D8C). oklch(54.9% 0.052 304.7), rgb(120, 106, 138).

Aa

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

About this color

#786A8A is a medium-dark, muted purple. In OKLCH its lightness is 55%, its chroma 0.052 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grey Purple (#826D8C), ΔE 0.019 away. White text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamuted (0.052)
Temperaturein between
Nearest nameGrey Purple (#826D8C)
Black text4.22:1
White text4.96:1

Values

HEX#786A8A
RGBrgb(120, 106, 138)
HSLhsl(266, 13%, 48%)
OKLCHoklch(54.9% 0.052 304.7)

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 #786A8A 4.96:1 AA Lc -79.8 Fine for body text
Black text on #786A8A 4.22:1 AA large text Lc 29.7 Dividers and decoration only
#786A8A text on white 4.96:1 AA Lc 74.4 Content text, not long reading
#786A8A 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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9ED

    oklch(93.7% 0.006 308.4)

  3. Step 200

    200

    #DBD7E0

    oklch(88.5% 0.013 306)

  4. Step 300

    300

    #C4BDCD

    oklch(80.9% 0.023 305.5)

  5. Step 400

    400

    #A69BB4

    oklch(70.7% 0.038 305.3)

  6. Step 500

    500

    #9083A1

    oklch(63.2% 0.047 304.8)

  7. Step 600

    600 (this color)

    #786A8A

    oklch(54.9% 0.052 304.7)

  8. Step 700

    700

    #675A77

    oklch(49.1% 0.048 305.1)

  9. Step 800

    800

    #544A61

    oklch(42.8% 0.039 304.6)

  10. Step 900

    900

    #453E4F

    oklch(37.8% 0.03 303.7)

  11. Step 950

    950

    #29242E

    oklch(27% 0.02 307.7)

Export this scale for Tailwind in the Tailwind colors tool

#786A8A 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)#646F8B0.032
Deuteranopia (no green cones)#6770890.030
Tritanopia (no blue cones)#756E750.039
Achromatopsia (no color)#7070700.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #786A8A

    #786A8A

    oklch(54.9% 0.052 304.7)

  • #6A7756

    #6A7756

    oklch(54.9% 0.052 125.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786A8A

    #786A8A

    oklch(54.9% 0.052 304.7)

  • #686F90

    #686F90

    oklch(54.8% 0.052 275.2)

  • #85667E

    #85667E

    oklch(54.9% 0.053 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #786A8A

    #786A8A

    oklch(54.9% 0.052 304.7)

  • #7B714F

    #7B714F

    oklch(54.9% 0.051 93.7)

  • #597B64

    #597B64

    oklch(55% 0.053 154.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786A8A

    #786A8A

    oklch(54.9% 0.052 304.7)

  • #876B51

    #876B51

    oklch(54.9% 0.052 64.3)

  • #4D7B75

    #4D7B75

    oklch(54.8% 0.051 185.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786A8A

    #786A8A

    oklch(54.9% 0.052 304.7)

  • #8D675D

    #8D675D

    oklch(55% 0.052 35.3)

  • #6A7756

    #6A7756

    oklch(54.9% 0.052 125.5)

  • #4D7984

    #4D7984

    oklch(54.8% 0.051 215.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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