#787B9E

Closest named color: Lavender Gray (#7E7F9A). oklch(59.3% 0.053 280.8), rgb(120, 123, 158).

Aa

Black text reads best on this color (5.12:1).

About this color

#787B9E is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.053 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.017 away. Black text reads best on it, at 5.12:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamuted (0.053)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.12:1
White text4.09:1

Values

HEX#787B9E
RGBrgb(120, 123, 158)
HSLhsl(235, 16%, 55%)
OKLCHoklch(59.3% 0.053 280.8)

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 #787B9E 4.09:1 AA large text Lc -73.6 Content text, not long reading
Black text on #787B9E 5.12:1 AA Lc 36.0 Non-text elements, placeholder text
#787B9E text on white 4.09:1 AA large text Lc 68.1 Content text, not long reading
#787B9E text on black 5.12:1 AA Lc -33.5 Non-text elements, placeholder text

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

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D7D8E2

    oklch(88.4% 0.014 281.5)

  4. Step 300

    300

    #BDBFD0

    oklch(80.8% 0.024 280.5)

  5. Step 400

    400

    #9C9EB9

    oklch(70.7% 0.039 282)

  6. Step 500

    500

    #8487A7

    oklch(63.2% 0.048 280.7)

  7. Step 600

    600 (this color)

    #787B9E

    oklch(59.3% 0.053 280.8)

  8. Step 700

    700

    #5B5E7D

    oklch(49.2% 0.05 280.1)

  9. Step 800

    800

    #4B4D65

    oklch(42.8% 0.04 280.9)

  10. Step 900

    900

    #3E4053

    oklch(37.7% 0.033 280)

  11. Step 950

    950

    #242530

    oklch(26.8% 0.02 280.8)

Export this scale for Tailwind in the Tailwind colors tool

#787B9E 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)#727FA00.013
Deuteranopia (no green cones)#707C9D0.012
Tritanopia (no blue cones)#6F81870.047
Achromatopsia (no color)#7D7D7D0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #787B9E

    #787B9E

    oklch(59.3% 0.053 280.8)

  • #85805A

    #85805A

    oklch(59.4% 0.054 101.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787B9E

    #787B9E

    oklch(59.3% 0.053 280.8)

  • #67819E

    #67819E

    oklch(59.4% 0.054 251.5)

  • #887696

    #887696

    oklch(59.4% 0.052 310.1)

Open the analogous palette in the generator

Split complementary

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

  • #787B9E

    #787B9E

    oklch(59.3% 0.053 280.8)

  • #93795B

    #93795B

    oklch(59.3% 0.054 70.5)

  • #738564

    #738564

    oklch(59.3% 0.053 131.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787B9E

    #787B9E

    oklch(59.3% 0.053 280.8)

  • #9B7466

    #9B7466

    oklch(59.4% 0.054 40.6)

  • #628874

    #628874

    oklch(59.2% 0.052 161.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787B9E

    #787B9E

    oklch(59.3% 0.053 280.8)

  • #9B7176

    #9B7176

    oklch(59.2% 0.054 10.9)

  • #85805A

    #85805A

    oklch(59.4% 0.054 101.5)

  • #588986

    #588986

    oklch(59.4% 0.053 190.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #787B9E 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.