#786BB1

Closest named color: Dark Lavender (#856798). oklch(57% 0.107 291.2), rgb(120, 107, 177).

Aa

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

About this color

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

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

Values

HEX#786BB1
RGBrgb(120, 107, 177)
HSLhsl(251, 31%, 56%)
OKLCHoklch(57% 0.107 291.2)

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 #786BB1 4.62:1 AA Lc -77.5 Fine for body text
Black text on #786BB1 4.53:1 AA Lc 32.0 Non-text elements, placeholder text
#786BB1 text on white 4.62:1 AA Lc 72.1 Content text, not long reading
#786BB1 text on black 4.53:1 AA Lc -29.6 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EA

    oklch(88.4% 0.027 292.7)

  4. Step 300

    300

    #C0BCDE

    oklch(80.9% 0.048 290.7)

  5. Step 400

    400

    #A098CD

    oklch(70.6% 0.077 291.2)

  6. Step 500

    500

    #8A7FC0

    oklch(63.2% 0.097 291.1)

  7. Step 600

    600 (this color)

    #786BB1

    oklch(57% 0.107 291.2)

  8. Step 700

    700

    #615594

    oklch(49% 0.099 291)

  9. Step 800

    800

    #504678

    oklch(42.7% 0.082 291.7)

  10. Step 900

    900

    #423B61

    oklch(37.7% 0.064 291.5)

  11. Step 950

    950

    #262339

    oklch(27% 0.04 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#786BB1 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)#5676B40.052
Deuteranopia (no green cones)#5773AF0.049
Tritanopia (no blue cones)#6B78850.090
Achromatopsia (no color)#7575750.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #786BB1

    #786BB1

    oklch(57% 0.107 291.2)

  • #7A7D28

    #7A7D28

    oklch(57% 0.107 111.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786BB1

    #786BB1

    oklch(57% 0.107 291.2)

  • #5377B6

    #5377B6

    oklch(57.1% 0.106 261)

  • #94619D

    #94619D

    oklch(57% 0.107 321.4)

Open the analogous palette in the generator

Split complementary

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

  • #786BB1

    #786BB1

    oklch(57% 0.107 291.2)

  • #97701E

    #97701E

    oklch(57% 0.106 81.3)

  • #52874A

    #52874A

    oklch(57.1% 0.107 141.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786BB1

    #786BB1

    oklch(57% 0.107 291.2)

  • #A86338

    #A86338

    oklch(56.9% 0.106 51.1)

  • #158B6F

    #158B6F

    oklch(56.9% 0.106 171.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786BB1

    #786BB1

    oklch(57% 0.107 291.2)

  • #AD5C5B

    #AD5C5B

    oklch(57% 0.106 21.7)

  • #7A7D28

    #7A7D28

    oklch(57% 0.107 111.3)

  • #00888F

    #00888F

    oklch(57% 0.097 201.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #786BB1.

Similar named colors

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

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