#9B3A7F

Closest named color: Light Eggplant (#894585). oklch(50.7% 0.152 340.6), rgb(155, 58, 127).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (51%)
Chromavivid (0.152)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text3.30:1
White text6.35:1

Values

HEX#9B3A7F
RGBrgb(155, 58, 127)
HSLhsl(317, 46%, 42%)
OKLCHoklch(50.7% 0.152 340.6)

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 #9B3A7F 6.35:1 AA Lc -86.0 Fine for body text
Black text on #9B3A7F 3.30:1 AA large text Lc 23.2 Dividers and decoration only
#9B3A7F text on white 6.35:1 AA Lc 80.9 Fine for body text
#9B3A7F text on black 3.30:1 AA large text Lc -21.0 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

    #EDCFE1

    oklch(88.5% 0.041 341.3)

  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

    #C461A5

    oklch(63.2% 0.15 340.7)

  7. Step 600

    600

    #AF4490

    oklch(55.6% 0.164 340.6)

  8. Step 700

    700 (this color)

    #9B3A7F

    oklch(50.7% 0.152 340.6)

  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

#9B3A7F 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)#4055810.163
Deuteranopia (no green cones)#5D657D0.144
Tritanopia (no blue cones)#A43C570.069
Achromatopsia (no color)#5F5F5F0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B3A7F

    #9B3A7F

    oklch(50.7% 0.152 340.6)

  • #00784F

    #00784F

    oklch(50.6% 0.113 160.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B3A7F

    #9B3A7F

    oklch(50.7% 0.152 340.6)

  • #8046A4

    #8046A4

    oklch(50.6% 0.152 310.6)

  • #A93550

    #A93550

    oklch(50.7% 0.152 10.6)

Open the analogous palette in the generator

Split complementary

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

  • #9B3A7F

    #9B3A7F

    oklch(50.7% 0.152 340.6)

  • #497400

    #497400

    oklch(50.8% 0.138 130.5)

  • #007571

    #007571

    oklch(50.8% 0.088 190.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B3A7F

    #9B3A7F

    oklch(50.7% 0.152 340.6)

  • #736600

    #736600

    oklch(50.7% 0.106 100.6)

  • #00718A

    #00718A

    oklch(50.8% 0.093 220.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B3A7F

    #9B3A7F

    oklch(50.7% 0.152 340.6)

  • #8C5800

    #8C5800

    oklch(50.6% 0.11 70.2)

  • #00784F

    #00784F

    oklch(50.6% 0.113 160.9)

  • #0067B4

    #0067B4

    oklch(50.7% 0.145 250.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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