#7E4780

Closest named color: Light Eggplant (#894585). oklch(48.5% 0.109 325.8), rgb(126, 71, 128).

Aa

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

About this color

#7E4780 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.109 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.022 away. White text reads best on it, at 6.77:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.10:1
White text6.77:1

Values

HEX#7E4780
RGBrgb(126, 71, 128)
HSLhsl(298, 29%, 39%)
OKLCHoklch(48.5% 0.109 325.8)

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 #7E4780 6.77:1 AA Lc -88.1 Fine for body text
Black text on #7E4780 3.10:1 AA large text Lc 20.9 Dividers and decoration only
#7E4780 text on white 6.77:1 AA Lc 83.1 Fine for body text
#7E4780 text on black 3.10:1 AA large text Lc -18.8 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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE6EF

    oklch(93.5% 0.015 325.7)

  3. Step 200

    200

    #E4D3E4

    oklch(88.6% 0.029 325.8)

  4. Step 300

    300

    #D3B5D3

    oklch(80.8% 0.053 326.1)

  5. Step 400

    400

    #BC8EBD

    oklch(70.6% 0.085 325.7)

  6. Step 500

    500

    #AB72AD

    oklch(63.2% 0.108 325.6)

  7. Step 600

    600

    #965998

    oklch(55.6% 0.117 325.9)

  8. Step 700

    700 (this color)

    #7E4780

    oklch(48.5% 0.109 325.8)

  9. Step 800

    800

    #683C69

    oklch(42.7% 0.09 326.2)

  10. Step 900

    900

    #553456

    oklch(37.8% 0.07 325.8)

  11. Step 950

    950

    #321E32

    oklch(26.9% 0.046 326.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E4780 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)#4257820.103
Deuteranopia (no green cones)#515E7E0.093
Tritanopia (no blue cones)#814D5D0.064
Achromatopsia (no color)#5B5B5B0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E4780

    #7E4780

    oklch(48.5% 0.109 325.8)

  • #2F6F37

    #2F6F37

    oklch(48.5% 0.109 146.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E4780

    #7E4780

    oklch(48.5% 0.109 325.8)

  • #655095

    #655095

    oklch(48.4% 0.109 296.1)

  • #8E4261

    #8E4261

    oklch(48.6% 0.109 356.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E4780

    #7E4780

    oklch(48.5% 0.109 325.8)

  • #5D6604

    #5D6604

    oklch(48.6% 0.109 115.7)

  • #006F5D

    #006F5D

    oklch(48.4% 0.09 176.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E4780

    #7E4780

    oklch(48.5% 0.109 325.8)

  • #785A00

    #785A00

    oklch(48.5% 0.099 86)

  • #006C76

    #006C76

    oklch(48.5% 0.083 206)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E4780

    #7E4780

    oklch(48.5% 0.109 325.8)

  • #8D4C13

    #8D4C13

    oklch(48.6% 0.11 55.8)

  • #2F6F37

    #2F6F37

    oklch(48.5% 0.109 146.1)

  • #006792

    #006792

    oklch(48.6% 0.105 236)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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