#9D3878

Closest named color: Light Eggplant (#894585). oklch(50.4% 0.152 344.9), rgb(157, 56, 120).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (50%)
Chromavivid (0.152)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text3.27:1
White text6.42:1

Values

HEX#9D3878
RGBrgb(157, 56, 120)
HSLhsl(322, 47%, 42%)
OKLCHoklch(50.4% 0.152 344.9)

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 #9D3878 6.42:1 AA Lc -86.3 Fine for body text
Black text on #9D3878 3.27:1 AA large text Lc 22.9 Dividers and decoration only
#9D3878 text on white 6.42:1 AA Lc 81.1 Fine for body text
#9D3878 text on black 3.27:1 AA large text Lc -20.7 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4ED

    oklch(93.5% 0.022 344.2)

  3. Step 200

    200

    #EECFDF

    oklch(88.5% 0.04 345.4)

  4. Step 300

    300

    #E4AECC

    oklch(80.9% 0.074 344.4)

  5. Step 400

    400

    #D482B1

    oklch(70.7% 0.116 345.1)

  6. Step 500

    500

    #C75F9E

    oklch(63.1% 0.151 345)

  7. Step 600

    600

    #B24389

    oklch(55.6% 0.163 344.9)

  8. Step 700

    700 (this color)

    #9D3878

    oklch(50.4% 0.152 344.9)

  9. Step 800

    800

    #7C2C5F

    oklch(42.7% 0.126 344.6)

  10. Step 900

    900

    #64294D

    oklch(37.7% 0.097 345.2)

  11. Step 950

    950

    #3B192D

    oklch(27.1% 0.061 345.6)

Export this scale for Tailwind in the Tailwind colors tool

#9D3878 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)#42547A0.165
Deuteranopia (no green cones)#5F65760.147
Tritanopia (no blue cones)#A737530.063
Achromatopsia (no color)#5F5F5F0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D3878

    #9D3878

    oklch(50.4% 0.152 344.9)

  • #007755

    #007755

    oklch(50.4% 0.106 165)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D3878

    #9D3878

    oklch(50.4% 0.152 344.9)

  • #84439F

    #84439F

    oklch(50.4% 0.153 314.9)

  • #A93448

    #A93448

    oklch(50.3% 0.152 14.6)

Open the analogous palette in the generator

Split complementary

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

  • #9D3878

    #9D3878

    oklch(50.4% 0.152 344.9)

  • #3B7500

    #3B7500

    oklch(50.3% 0.147 134.9)

  • #007374

    #007374

    oklch(50.3% 0.086 195.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D3878

    #9D3878

    oklch(50.4% 0.152 344.9)

  • #6E6700

    #6E6700

    oklch(50.4% 0.107 104.9)

  • #006F8D

    #006F8D

    oklch(50.4% 0.095 224.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D3878

    #9D3878

    oklch(50.4% 0.152 344.9)

  • #875A00

    #875A00

    oklch(50.4% 0.106 75.2)

  • #007755

    #007755

    oklch(50.4% 0.106 165)

  • #1663B8

    #1663B8

    oklch(50.3% 0.152 255)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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