#786FAB

Closest named color: Dark Lavender (#856798). oklch(57.4% 0.091 290.1), rgb(120, 111, 171).

Aa

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

About this color

#786FAB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.091 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.036 away. Black text reads best on it, at 4.66:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.66:1
White text4.50:1

Values

HEX#786FAB
RGBrgb(120, 111, 171)
HSLhsl(249, 26%, 55%)
OKLCHoklch(57.4% 0.091 290.1)

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 #786FAB 4.50:1 AA Lc -76.7 Fine for body text
Black text on #786FAB 4.66:1 AA Lc 32.8 Non-text elements, placeholder text
#786FAB text on white 4.50:1 AA Lc 71.2 Content text, not long reading
#786FAB text on black 4.66:1 AA Lc -30.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 600.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D8D7E8

    oklch(88.5% 0.023 288.6)

  4. Step 300

    300

    #C0BDDA

    oklch(81% 0.041 290.2)

  5. Step 400

    400

    #9F9AC7

    oklch(70.6% 0.065 289.7)

  6. Step 500

    500

    #8981B9

    oklch(63.2% 0.084 290.3)

  7. Step 600

    600 (this color)

    #786FAB

    oklch(57.4% 0.091 290.1)

  8. Step 700

    700

    #60588E

    oklch(49.2% 0.085 289.7)

  9. Step 800

    800

    #4F4873

    oklch(42.8% 0.07 290.6)

  10. Step 900

    900

    #413C5D

    oklch(37.6% 0.056 290.4)

  11. Step 950

    950

    #262436

    oklch(27.1% 0.033 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#786FAB 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)#5E78AD0.041
Deuteranopia (no green cones)#5E75A90.039
Tritanopia (no blue cones)#6C7A850.078
Achromatopsia (no color)#7777770.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #786FAB

    #786FAB

    oklch(57.4% 0.091 290.1)

  • #7C7D39

    #7C7D39

    oklch(57.4% 0.091 109.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786FAB

    #786FAB

    oklch(57.4% 0.091 290.1)

  • #5979AF

    #5979AF

    oklch(57.5% 0.092 260.5)

  • #91679A

    #91679A

    oklch(57.6% 0.09 320.4)

Open the analogous palette in the generator

Split complementary

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

  • #786FAB

    #786FAB

    oklch(57.4% 0.091 290.1)

  • #957233

    #957233

    oklch(57.4% 0.092 79.8)

  • #5B8651

    #5B8651

    oklch(57.5% 0.092 139.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786FAB

    #786FAB

    oklch(57.4% 0.091 290.1)

  • #A46845

    #A46845

    oklch(57.5% 0.092 50.4)

  • #358A70

    #358A70

    oklch(57.4% 0.092 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786FAB

    #786FAB

    oklch(57.4% 0.091 290.1)

  • #A86262

    #A86262

    oklch(57.5% 0.091 20.3)

  • #7C7D39

    #7C7D39

    oklch(57.4% 0.091 109.7)

  • #1C898E

    #1C898E

    oklch(57.5% 0.091 199.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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