#787AB6

Closest named color: Lavender Gray (#7E7F9A). oklch(60.2% 0.091 281.8), rgb(120, 122, 182).

Aa

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

About this color

#787AB6 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.091 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.050 away. Black text reads best on it, at 5.25:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.25:1
White text3.99:1

Values

HEX#787AB6
RGBrgb(120, 122, 182)
HSLhsl(238, 30%, 59%)
OKLCHoklch(60.2% 0.091 281.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 #787AB6 3.99:1 AA large text Lc -72.7 Content text, not long reading
Black text on #787AB6 5.25:1 AA Lc 36.9 Non-text elements, placeholder text
#787AB6 text on white 3.99:1 AA large text Lc 67.2 Content text, not long reading
#787AB6 text on black 5.25:1 AA Lc -34.4 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 500.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8EA

    oklch(88.6% 0.025 280.8)

  4. Step 300

    300

    #BBBEDD

    oklch(80.9% 0.044 281)

  5. Step 400

    400

    #999CCC

    oklch(70.8% 0.07 281.7)

  6. Step 500

    500 (this color)

    #787AB6

    oklch(60.2% 0.091 281.8)

  7. Step 600

    600

    #6A6BAC

    oklch(55.5% 0.1 282)

  8. Step 700

    700

    #595993

    oklch(49% 0.092 282.5)

  9. Step 800

    800

    #484978

    oklch(42.6% 0.077 281.7)

  10. Step 900

    900

    #3C3D60

    oklch(37.5% 0.06 281.9)

  11. Step 950

    950

    #232438

    oklch(26.9% 0.037 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#787AB6 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)#6881B80.027
Deuteranopia (no green cones)#657DB50.026
Tritanopia (no blue cones)#6885900.078
Achromatopsia (no color)#7F7F7F0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #787AB6

    #787AB6

    oklch(60.2% 0.091 281.8)

  • #8C833E

    #8C833E

    oklch(60.3% 0.091 101.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787AB6

    #787AB6

    oklch(60.2% 0.091 281.8)

  • #5784B6

    #5784B6

    oklch(60.2% 0.091 252)

  • #9371A8

    #9371A8

    oklch(60.2% 0.09 312)

Open the analogous palette in the generator

Split complementary

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

  • #787AB6

    #787AB6

    oklch(60.2% 0.091 281.8)

  • #A37840

    #A37840

    oklch(60.4% 0.091 71.9)

  • #6D8C52

    #6D8C52

    oklch(60.2% 0.09 131.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787AB6

    #787AB6

    oklch(60.2% 0.091 281.8)

  • #AF6E55

    #AF6E55

    oklch(60.2% 0.091 41.7)

  • #499270

    #499270

    oklch(60.3% 0.091 161.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787AB6

    #787AB6

    oklch(60.2% 0.091 281.8)

  • #B06972

    #B06972

    oklch(60.1% 0.091 12)

  • #8C833E

    #8C833E

    oklch(60.3% 0.091 101.9)

  • #2C928F

    #2C928F

    oklch(60.3% 0.091 192.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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