#7E4081

Closest named color: Light Eggplant (#894585). oklch(47.5% 0.123 325.6), rgb(126, 64, 129).

Aa

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

About this color

#7E4081 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.123 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.026 away. White text reads best on it, at 7.14:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.93:1
White text7.14:1

Values

HEX#7E4081
RGBrgb(126, 64, 129)
HSLhsl(297, 34%, 38%)
OKLCHoklch(47.5% 0.123 325.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 #7E4081 7.14:1 AAA Lc -89.4 Fine for body text
Black text on #7E4081 2.93:1 Fails Lc 19.6 Dividers and decoration only
#7E4081 text on white 7.14:1 AAA Lc 84.4 Fine for body text
#7E4081 text on black 2.93:1 Fails Lc -17.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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6F0

    oklch(93.6% 0.017 325.7)

  3. Step 200

    200

    #E5D2E5

    oklch(88.5% 0.033 325.9)

  4. Step 300

    300

    #D5B4D6

    oklch(80.9% 0.059 325.2)

  5. Step 400

    400

    #BF8CC1

    oklch(70.7% 0.095 325.3)

  6. Step 500

    500

    #AF6EB1

    oklch(63.1% 0.122 325.9)

  7. Step 600

    600

    #9A559D

    oklch(55.7% 0.132 325.6)

  8. Step 700

    700 (this color)

    #7E4081

    oklch(47.5% 0.123 325.6)

  9. Step 800

    800

    #6B396D

    oklch(42.8% 0.102 325.8)

  10. Step 900

    900

    #573158

    oklch(37.6% 0.08 326.1)

  11. Step 950

    950

    #331D34

    oklch(27% 0.051 325.4)

Export this scale for Tailwind in the Tailwind colors tool

#7E4081 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)#3953830.118
Deuteranopia (no green cones)#4B5A7F0.105
Tritanopia (no blue cones)#81475A0.072
Achromatopsia (no color)#5858580.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E4081

    #7E4081

    oklch(47.5% 0.123 325.6)

  • #226D2D

    #226D2D

    oklch(47.3% 0.122 145.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E4081

    #7E4081

    oklch(47.5% 0.123 325.6)

  • #634B99

    #634B99

    oklch(47.6% 0.123 295.5)

  • #8F395F

    #8F395F

    oklch(47.4% 0.124 355.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E4081

    #7E4081

    oklch(47.5% 0.123 325.6)

  • #5A6300

    #5A6300

    oklch(47.5% 0.108 115.8)

  • #006C5A

    #006C5A

    oklch(47.5% 0.089 175.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E4081

    #7E4081

    oklch(47.5% 0.123 325.6)

  • #755700

    #755700

    oklch(47.5% 0.097 85.3)

  • #006972

    #006972

    oklch(47.5% 0.081 205.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E4081

    #7E4081

    oklch(47.5% 0.123 325.6)

  • #8C4700

    #8C4700

    oklch(47.5% 0.116 55.8)

  • #226D2D

    #226D2D

    oklch(47.3% 0.122 145.8)

  • #00648D

    #00648D

    oklch(47.5% 0.101 235.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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