#7E2E6C

Closest named color: Light Eggplant (#894585). oklch(43.9% 0.134 337.5), rgb(126, 46, 108).

Aa

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

About this color

#7E2E6C is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.134 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.063 away. White text reads best on it, at 8.41:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.134)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.49:1
White text8.41:1

Values

HEX#7E2E6C
RGBrgb(126, 46, 108)
HSLhsl(313, 47%, 34%)
OKLCHoklch(43.9% 0.134 337.5)

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 #7E2E6C 8.41:1 AAA Lc -93.0 Preferred for body text
Black text on #7E2E6C 2.49:1 Fails Lc 15.6 Dividers and decoration only
#7E2E6C text on white 8.41:1 AAA Lc 88.4 Fine for body text
#7E2E6C text on black 2.49:1 Fails Lc -13.8 Not readable

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 800.

  1. Step 50

    50

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E3AED3

    oklch(81% 0.078 337.7)

  5. Step 400

    400

    #D281BC

    oklch(70.7% 0.124 337.6)

  6. Step 500

    500

    #C45EAC

    oklch(63.1% 0.16 337.1)

  7. Step 600

    600

    #AF4197

    oklch(55.6% 0.174 337.2)

  8. Step 700

    700

    #973281

    oklch(49.2% 0.162 337.5)

  9. Step 800

    800 (this color)

    #7E2E6C

    oklch(43.9% 0.134 337.5)

  10. Step 900

    900

    #632855

    oklch(37.8% 0.104 337.6)

  11. Step 950

    950

    #3A1832

    oklch(27% 0.066 337)

Export this scale for Tailwind in the Tailwind colors tool

#7E2E6C 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)#30456E0.143
Deuteranopia (no green cones)#49526A0.125
Tritanopia (no blue cones)#8531480.065
Achromatopsia (no color)#4D4D4D0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2E6C

    #7E2E6C

    oklch(43.9% 0.134 337.5)

  • #00633B

    #00633B

    oklch(44% 0.104 157.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2E6C

    #7E2E6C

    oklch(43.9% 0.134 337.5)

  • #66398A

    #66398A

    oklch(43.9% 0.133 307.4)

  • #8B2945

    #8B2945

    oklch(43.9% 0.133 7.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E2E6C

    #7E2E6C

    oklch(43.9% 0.134 337.5)

  • #405D00

    #405D00

    oklch(43.9% 0.114 127.7)

  • #005F5A

    #005F5A

    oklch(43.8% 0.076 188.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2E6C

    #7E2E6C

    oklch(43.9% 0.134 337.5)

  • #605200

    #605200

    oklch(43.9% 0.091 97.8)

  • #005C6F

    #005C6F

    oklch(43.8% 0.079 218.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2E6C

    #7E2E6C

    oklch(43.9% 0.134 337.5)

  • #754600

    #754600

    oklch(43.9% 0.097 67.3)

  • #00633B

    #00633B

    oklch(44% 0.104 157.5)

  • #00558E

    #00558E

    oklch(43.8% 0.116 247.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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