#785AB1

Closest named color: Deep Lavender (#8D5EB7). oklch(53.8% 0.134 297.6), rgb(120, 90, 177).

Aa

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

About this color

#785AB1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.134 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.039 away. White text reads best on it, at 5.39:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.89:1
White text5.39:1

Values

HEX#785AB1
RGBrgb(120, 90, 177)
HSLhsl(261, 36%, 52%)
OKLCHoklch(53.8% 0.134 297.6)

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 #785AB1 5.39:1 AA Lc -82.0 Fine for body text
Black text on #785AB1 3.89:1 AA large text Lc 27.4 Dividers and decoration only
#785AB1 text on white 5.39:1 AA Lc 76.7 Fine for body text
#785AB1 text on black 3.89:1 AA large text Lc -25.1 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F4

    oklch(93.7% 0.016 297.5)

  3. Step 200

    200

    #DBD5ED

    oklch(88.5% 0.033 297.2)

  4. Step 300

    300

    #C5B9E3

    oklch(80.9% 0.06 298.1)

  5. Step 400

    400

    #A794D5

    oklch(70.7% 0.095 297.3)

  6. Step 500

    500

    #9278CA

    oklch(63.1% 0.123 297.4)

  7. Step 600

    600 (this color)

    #785AB1

    oklch(53.8% 0.134 297.6)

  8. Step 700

    700

    #6A4E9D

    oklch(49% 0.124 298)

  9. Step 800

    800

    #564180

    oklch(42.8% 0.103 297.2)

  10. Step 900

    900

    #473767

    oklch(37.7% 0.081 297.7)

  11. Step 950

    950

    #29213C

    oklch(27.1% 0.05 296.6)

Export this scale for Tailwind in the Tailwind colors tool

#785AB1 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)#3D6AB40.085
Deuteranopia (no green cones)#4369AF0.080
Tritanopia (no blue cones)#6C6A7D0.105
Achromatopsia (no color)#6A6A6A0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #785AB1

    #785AB1

    oklch(53.8% 0.134 297.6)

  • #697700

    #697700

    oklch(53.9% 0.125 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #785AB1

    #785AB1

    oklch(53.8% 0.134 297.6)

  • #4C68BB

    #4C68BB

    oklch(53.7% 0.134 267.7)

  • #964E95

    #964E95

    oklch(53.7% 0.134 327.7)

Open the analogous palette in the generator

Split complementary

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

  • #785AB1

    #785AB1

    oklch(53.8% 0.134 297.6)

  • #896900

    #896900

    oklch(53.8% 0.11 87.5)

  • #29823D

    #29823D

    oklch(53.7% 0.133 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #785AB1

    #785AB1

    oklch(53.8% 0.134 297.6)

  • #A45700

    #A45700

    oklch(53.8% 0.129 57.7)

  • #00806E

    #00806E

    oklch(53.7% 0.099 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #785AB1

    #785AB1

    oklch(53.8% 0.134 297.6)

  • #AE4A40

    #AE4A40

    oklch(53.8% 0.133 28.1)

  • #697700

    #697700

    oklch(53.9% 0.125 117.6)

  • #007D8A

    #007D8A

    oklch(53.9% 0.093 207.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #785AB1 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.