#9E3F87

Closest named color: Light Eggplant (#894585). oklch(52.1% 0.153 338.1), rgb(158, 63, 135).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (52%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text3.51:1
White text5.97:1

Values

HEX#9E3F87
RGBrgb(158, 63, 135)
HSLhsl(315, 43%, 43%)
OKLCHoklch(52.1% 0.153 338.1)

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 #9E3F87 5.97:1 AA Lc -84.5 Fine for body text
Black text on #9E3F87 3.51:1 AA large text Lc 24.8 Dividers and decoration only
#9E3F87 text on white 5.97:1 AA Lc 79.2 Fine for body text
#9E3F87 text on black 3.51:1 AA large text Lc -22.6 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

    #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

    #E1AFD1

    oklch(81% 0.073 338.4)

  5. Step 400

    400

    #D083BA

    oklch(70.7% 0.118 338.1)

  6. Step 500

    500

    #C261A9

    oklch(63.1% 0.151 338)

  7. Step 600

    600

    #AD4594

    oklch(55.6% 0.164 338.1)

  8. Step 700

    700 (this color)

    #9E3F87

    oklch(52.1% 0.153 338.1)

  9. Step 800

    800

    #792E66

    oklch(42.8% 0.126 338.7)

  10. Step 900

    900

    #622A53

    oklch(37.8% 0.098 338.8)

  11. Step 950

    950

    #391931

    oklch(26.9% 0.062 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#9E3F87 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)#425A890.162
Deuteranopia (no green cones)#5E69850.144
Tritanopia (no blue cones)#A6425D0.072
Achromatopsia (no color)#6363630.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E3F87

    #9E3F87

    oklch(52.1% 0.153 338.1)

  • #007D4D

    #007D4D

    oklch(51.9% 0.121 158.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E3F87

    #9E3F87

    oklch(52.1% 0.153 338.1)

  • #824BAB

    #824BAB

    oklch(52% 0.153 308.4)

  • #AE3958

    #AE3958

    oklch(52.1% 0.153 8.2)

Open the analogous palette in the generator

Split complementary

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

  • #9E3F87

    #9E3F87

    oklch(52.1% 0.153 338.1)

  • #527700

    #527700

    oklch(52.1% 0.136 128)

  • #007A73

    #007A73

    oklch(52.2% 0.091 187.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E3F87

    #9E3F87

    oklch(52.1% 0.153 338.1)

  • #7A6900

    #7A6900

    oklch(52.1% 0.108 98)

  • #00768D

    #00768D

    oklch(52.2% 0.094 217.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E3F87

    #9E3F87

    oklch(52.1% 0.153 338.1)

  • #935A00

    #935A00

    oklch(52% 0.114 68)

  • #007D4D

    #007D4D

    oklch(51.9% 0.121 158.1)

  • #006DB5

    #006DB5

    oklch(52.2% 0.14 247.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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