#7E336E

Closest named color: Light Eggplant (#894585). oklch(44.6% 0.128 336.6), rgb(126, 51, 110).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.58:1
White text8.12:1

Values

HEX#7E336E
RGBrgb(126, 51, 110)
HSLhsl(313, 42%, 35%)
OKLCHoklch(44.6% 0.128 336.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 #7E336E 8.12:1 AAA Lc -92.2 Preferred for body text
Black text on #7E336E 2.58:1 Fails Lc 16.5 Dividers and decoration only
#7E336E text on white 8.12:1 AAA Lc 87.6 Fine for body text
#7E336E text on black 2.58:1 Fails Lc -14.6 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

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #ECCFE3

    oklch(88.5% 0.042 337.2)

  4. Step 300

    300

    #E1AFD3

    oklch(81% 0.075 336.6)

  5. Step 400

    400

    #CF83BC

    oklch(70.7% 0.118 336.5)

  6. Step 500

    500

    #C161AB

    oklch(63.1% 0.152 336.6)

  7. Step 600

    600

    #AC4597

    oklch(55.6% 0.166 336.3)

  8. Step 700

    700

    #943680

    oklch(49.2% 0.154 337)

  9. Step 800

    800 (this color)

    #7E336E

    oklch(44.6% 0.128 336.6)

  10. Step 900

    900

    #612A55

    oklch(37.8% 0.099 336.4)

  11. Step 950

    950

    #391932

    oklch(27% 0.063 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E336E 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)#3448700.134
Deuteranopia (no green cones)#4B546C0.119
Tritanopia (no blue cones)#84364B0.062
Achromatopsia (no color)#5050500.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E336E

    #7E336E

    oklch(44.6% 0.128 336.6)

  • #00653B

    #00653B

    oklch(44.6% 0.107 156.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E336E

    #7E336E

    oklch(44.6% 0.128 336.6)

  • #673D8B

    #673D8B

    oklch(44.7% 0.128 306.8)

  • #8B2E48

    #8B2E48

    oklch(44.6% 0.128 6.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E336E

    #7E336E

    oklch(44.6% 0.128 336.6)

  • #445F00

    #445F00

    oklch(44.7% 0.114 126.4)

  • #00625B

    #00625B

    oklch(44.7% 0.078 186.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E336E

    #7E336E

    oklch(44.6% 0.128 336.6)

  • #635300

    #635300

    oklch(44.5% 0.092 96.2)

  • #005F71

    #005F71

    oklch(44.8% 0.08 216.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E336E

    #7E336E

    oklch(44.6% 0.128 336.6)

  • #784700

    #784700

    oklch(44.6% 0.099 66.4)

  • #00653B

    #00653B

    oklch(44.6% 0.107 156.8)

  • #005890

    #005890

    oklch(44.7% 0.116 246.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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