#7E3D98

Closest named color: Light Eggplant (#894585). oklch(48.3% 0.152 315.2), rgb(126, 61, 152).

Aa

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

About this color

#7E3D98 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.152 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.046 away. White text reads best on it, at 6.98:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.152)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.00:1
White text6.98:1

Values

HEX#7E3D98
RGBrgb(126, 61, 152)
HSLhsl(283, 43%, 42%)
OKLCHoklch(48.3% 0.152 315.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 #7E3D98 6.98:1 AA Lc -88.7 Fine for body text
Black text on #7E3D98 3.00:1 AA large text Lc 20.3 Dividers and decoration only
#7E3D98 text on white 6.98:1 AA Lc 83.7 Fine for body text
#7E3D98 text on black 3.00:1 AA large text Lc -18.3 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E4D1EC

    oklch(88.4% 0.042 316)

  4. Step 300

    300

    #D3B3E2

    oklch(81% 0.074 314.9)

  5. Step 400

    400

    #BC89D3

    oklch(70.6% 0.118 314.9)

  6. Step 500

    500

    #AB6AC7

    oklch(63.1% 0.15 315)

  7. Step 600

    600

    #974FB4

    oklch(55.7% 0.165 315.3)

  8. Step 700

    700 (this color)

    #7E3D98

    oklch(48.3% 0.152 315.2)

  9. Step 800

    800

    #68357D

    oklch(42.7% 0.125 315.1)

  10. Step 900

    900

    #552F65

    oklch(37.8% 0.098 315.1)

  11. Step 950

    950

    #321C3B

    oklch(27% 0.062 315.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E3D98 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)#23559B0.139
Deuteranopia (no green cones)#3C5B960.122
Tritanopia (no blue cones)#7C4D640.102
Achromatopsia (no color)#5959590.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E3D98

    #7E3D98

    oklch(48.3% 0.152 315.2)

  • #376F00

    #376F00

    oklch(48.4% 0.142 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E3D98

    #7E3D98

    oklch(48.3% 0.152 315.2)

  • #594CAF

    #594CAF

    oklch(48.3% 0.152 285.2)

  • #963172

    #963172

    oklch(48.3% 0.153 344.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E3D98

    #7E3D98

    oklch(48.3% 0.152 315.2)

  • #676100

    #676100

    oklch(48.3% 0.103 105.4)

  • #007050

    #007050

    oklch(48.3% 0.101 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E3D98

    #7E3D98

    oklch(48.3% 0.152 315.2)

  • #7F5500

    #7F5500

    oklch(48.3% 0.102 75.8)

  • #006D6D

    #006D6D

    oklch(48.4% 0.083 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E3D98

    #7E3D98

    oklch(48.3% 0.152 315.2)

  • #9A3E00

    #9A3E00

    oklch(48.3% 0.137 45.3)

  • #376F00

    #376F00

    oklch(48.4% 0.142 135.1)

  • #006985

    #006985

    oklch(48.4% 0.091 224.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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