#786F97

Closest named color: Grey Purple (#826D8C). oklch(56.5% 0.062 294.7), rgb(120, 111, 151).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamuted (0.062)
Temperaturein between
Nearest nameGrey Purple (#826D8C)
Black text4.51:1
White text4.64:1

Values

HEX#786F97
RGBrgb(120, 111, 151)
HSLhsl(253, 16%, 51%)
OKLCHoklch(56.5% 0.062 294.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 #786F97 4.64:1 AA Lc -77.7 Fine for body text
Black text on #786F97 4.51:1 AA Lc 31.8 Non-text elements, placeholder text
#786F97 text on white 4.64:1 AA Lc 72.3 Content text, not long reading
#786F97 text on black 4.51:1 AA Lc -29.4 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

    #D9D7E3

    oklch(88.4% 0.016 293.7)

  4. Step 300

    300

    #C1BDD1

    oklch(80.8% 0.028 294.9)

  5. Step 400

    400

    #A29CBA

    oklch(70.8% 0.044 294.4)

  6. Step 500

    500

    #8B83A9

    oklch(63.1% 0.057 294.4)

  7. Step 600

    600 (this color)

    #786F97

    oklch(56.5% 0.062 294.7)

  8. Step 700

    700

    #635A7E

    oklch(49% 0.058 295.7)

  9. Step 800

    800

    #504A67

    oklch(42.7% 0.048 293.8)

  10. Step 900

    900

    #433E54

    oklch(37.8% 0.038 295)

  11. Step 950

    950

    #272431

    oklch(26.9% 0.024 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#786F97 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)#6675990.029
Deuteranopia (no green cones)#6774960.028
Tritanopia (no blue cones)#72757D0.051
Achromatopsia (no color)#7474740.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #786F97

    #786F97

    oklch(56.5% 0.062 294.7)

  • #757A50

    #757A50

    oklch(56.4% 0.061 113.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786F97

    #786F97

    oklch(56.5% 0.062 294.7)

  • #64769B

    #64769B

    oklch(56.6% 0.061 264.4)

  • #896A8A

    #896A8A

    oklch(56.6% 0.061 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #786F97

    #786F97

    oklch(56.5% 0.062 294.7)

  • #87734B

    #87734B

    oklch(56.5% 0.062 84)

  • #5F805F

    #5F805F

    oklch(56.5% 0.063 144.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786F97

    #786F97

    oklch(56.5% 0.062 294.7)

  • #936C53

    #936C53

    oklch(56.4% 0.062 53.8)

  • #4D8274

    #4D8274

    oklch(56.5% 0.061 175.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786F97

    #786F97

    oklch(56.5% 0.062 294.7)

  • #976864

    #976864

    oklch(56.5% 0.061 24.6)

  • #757A50

    #757A50

    oklch(56.4% 0.061 113.9)

  • #468187

    #468187

    oklch(56.6% 0.062 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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