#7E3789

Closest named color: Light Eggplant (#894585). oklch(46.6% 0.146 322.1), rgb(126, 55, 137).

Aa

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

About this color

#7E3789 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.146 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.042 away. White text reads best on it, at 7.51:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.146)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.79:1
White text7.51:1

Values

HEX#7E3789
RGBrgb(126, 55, 137)
HSLhsl(292, 43%, 38%)
OKLCHoklch(46.6% 0.146 322.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 #7E3789 7.51:1 AAA Lc -90.4 Preferred for body text
Black text on #7E3789 2.79:1 Fails Lc 18.5 Dividers and decoration only
#7E3789 text on white 7.51:1 AAA Lc 85.6 Fine for body text
#7E3789 text on black 2.79:1 Fails Lc -16.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 700.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F2

    oklch(93.7% 0.02 323.2)

  3. Step 200

    200

    #E6D1E9

    oklch(88.5% 0.04 322)

  4. Step 300

    300

    #D7B2DC

    oklch(80.9% 0.071 322.3)

  5. Step 400

    400

    #C288CA

    oklch(70.7% 0.113 322.4)

  6. Step 500

    500

    #B169BD

    oklch(63.1% 0.144 321.7)

  7. Step 600

    600

    #9D4EA9

    oklch(55.6% 0.158 322.2)

  8. Step 700

    700 (this color)

    #7E3789

    oklch(46.6% 0.146 322.1)

  9. Step 800

    800

    #6D3475

    oklch(42.7% 0.121 322.6)

  10. Step 900

    900

    #582E5F

    oklch(37.6% 0.095 321.7)

  11. Step 950

    950

    #341C38

    oklch(27.1% 0.06 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E3789 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)#274F8C0.143
Deuteranopia (no green cones)#4157870.123
Tritanopia (no blue cones)#80435A0.090
Achromatopsia (no color)#5454540.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E3789

    #7E3789

    oklch(46.6% 0.146 322.1)

  • #176D11

    #176D11

    oklch(46.8% 0.146 142.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E3789

    #7E3789

    oklch(46.6% 0.146 322.1)

  • #5E45A3

    #5E45A3

    oklch(46.7% 0.146 292.1)

  • #932D62

    #932D62

    oklch(46.7% 0.146 352.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E3789

    #7E3789

    oklch(46.6% 0.146 322.1)

  • #5B5F00

    #5B5F00

    oklch(46.6% 0.104 112.6)

  • #006A54

    #006A54

    oklch(46.7% 0.091 171.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E3789

    #7E3789

    oklch(46.6% 0.146 322.1)

  • #745300

    #745300

    oklch(46.5% 0.096 81.9)

  • #00666D

    #00666D

    oklch(46.5% 0.079 203.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E3789

    #7E3789

    oklch(46.6% 0.146 322.1)

  • #8C4200

    #8C4200

    oklch(46.6% 0.12 52.1)

  • #176D11

    #176D11

    oklch(46.8% 0.146 142.1)

  • #006286

    #006286

    oklch(46.6% 0.096 232.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7E3789 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.