#9E3C82

Closest named color: Light Eggplant (#894585). oklch(51.5% 0.153 340.4), rgb(158, 60, 130).

Aa

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

About this color

#9E3C82 is a medium-dark, vivid pink. In OKLCH its lightness is 51%, its chroma 0.153 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.042 away. White text reads best on it, at 6.13:1.

Hue familyPinks
Lightnessmedium-dark (51%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text3.42:1
White text6.13:1

Values

HEX#9E3C82
RGBrgb(158, 60, 130)
HSLhsl(317, 45%, 43%)
OKLCHoklch(51.5% 0.153 340.4)

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 #9E3C82 6.13:1 AA Lc -85.1 Fine for body text
Black text on #9E3C82 3.42:1 AA large text Lc 24.1 Dividers and decoration only
#9E3C82 text on white 6.13:1 AA Lc 79.9 Fine for body text
#9E3C82 text on black 3.42:1 AA large text Lc -21.9 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #EDCFE2

    oklch(88.5% 0.042 339.7)

  4. Step 300

    300

    #E2AECF

    oklch(80.8% 0.074 340.5)

  5. Step 400

    400

    #D282B7

    oklch(70.7% 0.119 340.6)

  6. Step 500

    500

    #C460A5

    oklch(63.1% 0.152 340.6)

  7. Step 600

    600

    #AF4490

    oklch(55.6% 0.164 340.6)

  8. Step 700

    700 (this color)

    #9E3C82

    oklch(51.5% 0.153 340.4)

  9. Step 800

    800

    #7A2D64

    oklch(42.7% 0.127 340.4)

  10. Step 900

    900

    #632951

    oklch(37.7% 0.099 341)

  11. Step 950

    950

    #3A1930

    oklch(27.1% 0.062 340)

Export this scale for Tailwind in the Tailwind colors tool

#9E3C82 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)#4258840.164
Deuteranopia (no green cones)#5F67800.144
Tritanopia (no blue cones)#A73E590.070
Achromatopsia (no color)#6262620.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E3C82

    #9E3C82

    oklch(51.5% 0.153 340.4)

  • #007B50

    #007B50

    oklch(51.4% 0.116 160.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E3C82

    #9E3C82

    oklch(51.5% 0.153 340.4)

  • #8348A7

    #8348A7

    oklch(51.5% 0.153 310.8)

  • #AC3752

    #AC3752

    oklch(51.4% 0.153 10.6)

Open the analogous palette in the generator

Split complementary

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

  • #9E3C82

    #9E3C82

    oklch(51.5% 0.153 340.4)

  • #4B7600

    #4B7600

    oklch(51.4% 0.139 130.3)

  • #007773

    #007773

    oklch(51.4% 0.089 190.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E3C82

    #9E3C82

    oklch(51.5% 0.153 340.4)

  • #766800

    #766800

    oklch(51.5% 0.107 100.1)

  • #00738D

    #00738D

    oklch(51.4% 0.094 220.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E3C82

    #9E3C82

    oklch(51.5% 0.153 340.4)

  • #8F5A00

    #8F5A00

    oklch(51.4% 0.111 70.3)

  • #007B50

    #007B50

    oklch(51.4% 0.116 160.3)

  • #0069B8

    #0069B8

    oklch(51.4% 0.148 250.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9E3C82 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.