#786D99

Closest named color: Dark Lavender (#856798). oklch(56.2% 0.068 295.6), rgb(120, 109, 153).

Aa

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

About this color

#786D99 is a medium-dark, muted purple. In OKLCH its lightness is 56%, its chroma 0.068 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.025 away. White text reads best on it, at 4.72:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamuted (0.068)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.44:1
White text4.72:1

Values

HEX#786D99
RGBrgb(120, 109, 153)
HSLhsl(255, 18%, 51%)
OKLCHoklch(56.2% 0.068 295.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 #786D99 4.72:1 AA Lc -78.2 Fine for body text
Black text on #786D99 4.44:1 AA large text Lc 31.3 Non-text elements, placeholder text
#786D99 text on white 4.72:1 AA Lc 72.8 Content text, not long reading
#786D99 text on black 4.44:1 AA large text Lc -28.9 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #DAD7E3

    oklch(88.5% 0.017 297.5)

  4. Step 300

    300

    #C2BDD3

    oklch(80.9% 0.031 296.1)

  5. Step 400

    400

    #A39BBC

    oklch(70.7% 0.048 296.3)

  6. Step 500

    500

    #8C82AC

    oklch(63.1% 0.063 295.5)

  7. Step 600

    600 (this color)

    #786D99

    oklch(56.2% 0.068 295.6)

  8. Step 700

    700

    #635981

    oklch(49% 0.064 295.4)

  9. Step 800

    800

    #514969

    oklch(42.7% 0.053 295.5)

  10. Step 900

    900

    #433D55

    oklch(37.6% 0.041 295.8)

  11. Step 950

    950

    #272432

    oklch(27% 0.026 294.4)

Export this scale for Tailwind in the Tailwind colors tool

#786D99 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)#63749B0.034
Deuteranopia (no green cones)#6473980.033
Tritanopia (no blue cones)#72747D0.055
Achromatopsia (no color)#7373730.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #786D99

    #786D99

    oklch(56.2% 0.068 295.6)

  • #737A4B

    #737A4B

    oklch(56.2% 0.068 115.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786D99

    #786D99

    oklch(56.2% 0.068 295.6)

  • #62749E

    #62749E

    oklch(56.1% 0.069 266.3)

  • #8A678B

    #8A678B

    oklch(56.2% 0.069 325.5)

Open the analogous palette in the generator

Split complementary

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

  • #786D99

    #786D99

    oklch(56.2% 0.068 295.6)

  • #877245

    #877245

    oklch(56.1% 0.068 85.3)

  • #5B805D

    #5B805D

    oklch(56.2% 0.068 145.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786D99

    #786D99

    oklch(56.2% 0.068 295.6)

  • #946A4D

    #946A4D

    oklch(56% 0.068 55.5)

  • #468273

    #468273

    oklch(56.1% 0.067 175.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786D99

    #786D99

    oklch(56.2% 0.068 295.6)

  • #996560

    #996560

    oklch(56.1% 0.068 25.5)

  • #737A4B

    #737A4B

    oklch(56.2% 0.068 115.5)

  • #3E8188

    #3E8188

    oklch(56.3% 0.069 204.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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