#785AB7

Closest named color: Deep Lavender (#8D5EB7). oklch(54.2% 0.142 296.2), rgb(120, 90, 183).

Aa

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

About this color

#785AB7 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.142 and its hue 296°. 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.32:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.142)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.94:1
White text5.32:1

Values

HEX#785AB7
RGBrgb(120, 90, 183)
HSLhsl(259, 39%, 54%)
OKLCHoklch(54.2% 0.142 296.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 #785AB7 5.32:1 AA Lc -81.6 Fine for body text
Black text on #785AB7 3.94:1 AA large text Lc 27.8 Dividers and decoration only
#785AB7 text on white 5.32:1 AA Lc 76.3 Fine for body text
#785AB7 text on black 3.94:1 AA large text Lc -25.5 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE8F5

    oklch(93.7% 0.018 296.6)

  3. Step 200

    200

    #DBD5EF

    oklch(88.6% 0.036 296.2)

  4. Step 300

    300

    #C4B9E6

    oklch(81% 0.064 296.2)

  5. Step 400

    400

    #A693D9

    oklch(70.6% 0.102 296.2)

  6. Step 500

    500

    #9177CF

    oklch(63.1% 0.131 296)

  7. Step 600

    600 (this color)

    #785AB7

    oklch(54.2% 0.142 296.2)

  8. Step 700

    700

    #694DA2

    oklch(49.1% 0.133 296.4)

  9. Step 800

    800

    #554083

    oklch(42.7% 0.109 295.9)

  10. Step 900

    900

    #463769

    oklch(37.7% 0.084 295.9)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#785AB7 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)#386CBA0.090
Deuteranopia (no green cones)#3F6AB50.084
Tritanopia (no blue cones)#6A6C800.112
Achromatopsia (no color)#6B6B6B0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #785AB7

    #785AB7

    oklch(54.2% 0.142 296.2)

  • #6C7700

    #6C7700

    oklch(54.1% 0.124 116)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #785AB7

    #785AB7

    oklch(54.2% 0.142 296.2)

  • #4869C1

    #4869C1

    oklch(54.1% 0.142 266.3)

  • #984D9A

    #984D9A

    oklch(54.1% 0.142 326.3)

Open the analogous palette in the generator

Split complementary

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

  • #785AB7

    #785AB7

    oklch(54.2% 0.142 296.2)

  • #8B6900

    #8B6900

    oklch(54% 0.111 86.2)

  • #278438

    #278438

    oklch(54.2% 0.142 146.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #785AB7

    #785AB7

    oklch(54.2% 0.142 296.2)

  • #A75700

    #A75700

    oklch(54.2% 0.132 56.5)

  • #00826D

    #00826D

    oklch(54.2% 0.101 176.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #785AB7

    #785AB7

    oklch(54.2% 0.142 296.2)

  • #B34741

    #B34741

    oklch(54.2% 0.142 26.1)

  • #6C7700

    #6C7700

    oklch(54.1% 0.124 116)

  • #007E8A

    #007E8A

    oklch(54.2% 0.093 206.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #785AB7.

Similar named colors

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

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