#783A8B

Closest named color: Light Eggplant (#894585). oklch(46.3% 0.14 317.7), rgb(120, 58, 139).

Aa

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

About this color

#783A8B is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.140 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.047 away. White text reads best on it, at 7.56:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.140)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.77:1
White text7.56:1

Values

HEX#783A8B
RGBrgb(120, 58, 139)
HSLhsl(286, 41%, 39%)
OKLCHoklch(46.3% 0.14 317.7)

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 #783A8B 7.56:1 AAA Lc -90.7 Preferred for body text
Black text on #783A8B 2.77:1 Fails Lc 18.2 Dividers and decoration only
#783A8B text on white 7.56:1 AAA Lc 85.8 Fine for body text
#783A8B text on black 2.77:1 Fails Lc -16.2 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 700.

  1. Step 50

    50

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E4D2EA

    oklch(88.6% 0.038 317.7)

  4. Step 300

    300

    #D3B3DE

    oklch(80.8% 0.069 317.4)

  5. Step 400

    400

    #BD8BCD

    oklch(70.8% 0.108 317.8)

  6. Step 500

    500

    #AB6CC0

    oklch(63% 0.139 317.3)

  7. Step 600

    600

    #9752AC

    oklch(55.6% 0.151 317.8)

  8. Step 700

    700 (this color)

    #783A8B

    oklch(46.3% 0.14 317.7)

  9. Step 800

    800

    #683778

    oklch(42.7% 0.116 317.3)

  10. Step 900

    900

    #553061

    oklch(37.7% 0.092 317.4)

  11. Step 950

    950

    #321D39

    oklch(27.1% 0.057 317.3)

Export this scale for Tailwind in the Tailwind colors tool

#783A8B 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)#27508E0.130
Deuteranopia (no green cones)#3D56890.114
Tritanopia (no blue cones)#78475D0.090
Achromatopsia (no color)#5454540.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #783A8B

    #783A8B

    oklch(46.3% 0.14 317.7)

  • #2B6A03

    #2B6A03

    oklch(46.4% 0.141 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #783A8B

    #783A8B

    oklch(46.3% 0.14 317.7)

  • #5747A2

    #5747A2

    oklch(46.3% 0.141 287.6)

  • #8E3067

    #8E3067

    oklch(46.4% 0.141 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #783A8B

    #783A8B

    oklch(46.3% 0.14 317.7)

  • #5F5C00

    #5F5C00

    oklch(46.3% 0.099 107.5)

  • #00694E

    #00694E

    oklch(46.2% 0.094 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #783A8B

    #783A8B

    oklch(46.3% 0.14 317.7)

  • #765100

    #765100

    oklch(46.3% 0.097 78.3)

  • #006669

    #006669

    oklch(46.3% 0.079 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #783A8B

    #783A8B

    oklch(46.3% 0.14 317.7)

  • #8F3D00

    #8F3D00

    oklch(46.3% 0.127 47.7)

  • #2B6A03

    #2B6A03

    oklch(46.4% 0.141 137.6)

  • #006280

    #006280

    oklch(46.3% 0.09 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #783A8B 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.