#7E306B

Closest named color: Light Eggplant (#894585). oklch(44.1% 0.13 338.2), rgb(126, 48, 107).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.130)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.52:1
White text8.32:1

Values

HEX#7E306B
RGBrgb(126, 48, 107)
HSLhsl(315, 45%, 34%)
OKLCHoklch(44.1% 0.13 338.2)

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 #7E306B 8.32:1 AAA Lc -92.8 Preferred for body text
Black text on #7E306B 2.52:1 Fails Lc 15.9 Dividers and decoration only
#7E306B text on white 8.32:1 AAA Lc 88.1 Fine for body text
#7E306B text on black 2.52:1 Fails Lc -14.0 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

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E2AED2

    oklch(80.9% 0.077 337.9)

  5. Step 400

    400

    #D182BB

    oklch(70.7% 0.121 337.8)

  6. Step 500

    500

    #C45FA9

    oklch(63.1% 0.156 338.6)

  7. Step 600

    600

    #AF4395

    oklch(55.7% 0.169 338.2)

  8. Step 700

    700

    #96347F

    oklch(49.2% 0.157 338.2)

  9. Step 800

    800 (this color)

    #7E306B

    oklch(44.1% 0.13 338.2)

  10. Step 900

    900

    #622954

    oklch(37.7% 0.101 337.8)

  11. Step 950

    950

    #3A1831

    oklch(26.9% 0.065 338.4)

Export this scale for Tailwind in the Tailwind colors tool

#7E306B 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)#33466D0.138
Deuteranopia (no green cones)#4A52690.121
Tritanopia (no blue cones)#8533490.062
Achromatopsia (no color)#4E4E4E0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E306B

    #7E306B

    oklch(44.1% 0.13 338.2)

  • #00633C

    #00633C

    oklch(44% 0.103 158.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E306B

    #7E306B

    oklch(44.1% 0.13 338.2)

  • #673A89

    #673A89

    oklch(44.1% 0.131 308.2)

  • #8B2B45

    #8B2B45

    oklch(44.1% 0.131 7.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E306B

    #7E306B

    oklch(44.1% 0.13 338.2)

  • #3F5E00

    #3F5E00

    oklch(44.1% 0.116 128.5)

  • #00605B

    #00605B

    oklch(44.1% 0.076 188.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E306B

    #7E306B

    oklch(44.1% 0.13 338.2)

  • #605300

    #605300

    oklch(44.2% 0.091 98.8)

  • #005D70

    #005D70

    oklch(44.2% 0.079 218)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E306B

    #7E306B

    oklch(44.1% 0.13 338.2)

  • #754700

    #754700

    oklch(44.1% 0.097 68.4)

  • #00633C

    #00633C

    oklch(44% 0.103 158.1)

  • #005591

    #005591

    oklch(44% 0.12 248.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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