#7E306D

Closest named color: Light Eggplant (#894585). oklch(44.2% 0.132 337), rgb(126, 48, 109).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.53:1
White text8.29:1

Values

HEX#7E306D
RGBrgb(126, 48, 109)
HSLhsl(313, 45%, 34%)
OKLCHoklch(44.2% 0.132 337)

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 #7E306D 8.29:1 AAA Lc -92.7 Preferred for body text
Black text on #7E306D 2.53:1 Fails Lc 16.0 Dividers and decoration only
#7E306D text on white 8.29:1 AAA Lc 88.0 Fine for body text
#7E306D text on black 2.53:1 Fails Lc -14.1 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

    #F4E4EF

    oklch(93.5% 0.023 336.8)

  3. Step 200

    200

    #EDCFE4

    oklch(88.6% 0.043 336.8)

  4. Step 300

    300

    #E2AED3

    oklch(80.9% 0.077 337.1)

  5. Step 400

    400

    #D181BC

    oklch(70.6% 0.124 337.2)

  6. Step 500

    500

    #C35FAC

    oklch(63.1% 0.158 336.8)

  7. Step 600

    600

    #AE4297

    oklch(55.5% 0.172 336.9)

  8. Step 700

    700

    #953381

    oklch(49% 0.159 336.8)

  9. Step 800

    800 (this color)

    #7E306D

    oklch(44.2% 0.132 337)

  10. Step 900

    900

    #622855

    oklch(37.6% 0.103 336.9)

  11. Step 950

    950

    #3A1832

    oklch(27% 0.066 337)

Export this scale for Tailwind in the Tailwind colors tool

#7E306D 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)#32476F0.139
Deuteranopia (no green cones)#49536B0.124
Tritanopia (no blue cones)#84344A0.064
Achromatopsia (no color)#4E4E4E0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E306D

    #7E306D

    oklch(44.2% 0.132 337)

  • #00643A

    #00643A

    oklch(44.3% 0.106 156.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E306D

    #7E306D

    oklch(44.2% 0.132 337)

  • #663B8B

    #663B8B

    oklch(44.2% 0.131 306.6)

  • #8B2B46

    #8B2B46

    oklch(44.2% 0.131 7.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E306D

    #7E306D

    oklch(44.2% 0.132 337)

  • #425E00

    #425E00

    oklch(44.3% 0.114 127)

  • #00605A

    #00605A

    oklch(44% 0.077 187.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E306D

    #7E306D

    oklch(44.2% 0.132 337)

  • #615200

    #615200

    oklch(44% 0.091 96.9)

  • #005D6F

    #005D6F

    oklch(44.1% 0.079 216.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E306D

    #7E306D

    oklch(44.2% 0.132 337)

  • #764600

    #764600

    oklch(44.1% 0.098 66.7)

  • #00643A

    #00643A

    oklch(44.3% 0.106 156.6)

  • #00568F

    #00568F

    oklch(44.1% 0.117 247.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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