#8D4E7F

Closest named color: Light Eggplant (#894585). oklch(51.5% 0.107 335.8), rgb(141, 78, 127).

Aa

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

About this color

#8D4E7F is a medium-dark, moderately saturated pink. In OKLCH its lightness is 52%, its chroma 0.107 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.028 away. White text reads best on it, at 5.95:1.

Hue familyPinks
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text3.52:1
White text5.95:1

Values

HEX#8D4E7F
RGBrgb(141, 78, 127)
HSLhsl(313, 29%, 43%)
OKLCHoklch(51.5% 0.107 335.8)

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 #8D4E7F 5.95:1 AA Lc -84.7 Fine for body text
Black text on #8D4E7F 3.52:1 AA large text Lc 24.6 Dividers and decoration only
#8D4E7F text on white 5.95:1 AA Lc 79.5 Fine for body text
#8D4E7F text on black 3.52:1 AA large text Lc -22.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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E6D2E0

    oklch(88.4% 0.029 336.5)

  4. Step 300

    300

    #D7B5CE

    oklch(81% 0.051 335.5)

  5. Step 400

    400

    #C28DB4

    oklch(70.7% 0.083 336.3)

  6. Step 500

    500

    #B170A2

    oklch(63.1% 0.105 335.6)

  7. Step 600

    600

    #9C578D

    oklch(55.5% 0.115 335.6)

  8. Step 700

    700 (this color)

    #8D4E7F

    oklch(51.5% 0.107 335.8)

  9. Step 800

    800

    #6C3B61

    oklch(42.7% 0.087 335.9)

  10. Step 900

    900

    #583350

    oklch(37.8% 0.069 335.2)

  11. Step 950

    950

    #341E2F

    oklch(27.1% 0.044 335.4)

Export this scale for Tailwind in the Tailwind colors tool

#8D4E7F 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)#4F5E810.107
Deuteranopia (no green cones)#5F677D0.098
Tritanopia (no blue cones)#9351610.052
Achromatopsia (no color)#6464640.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D4E7F

    #8D4E7F

    oklch(51.5% 0.107 335.8)

  • #26794D

    #26794D

    oklch(51.5% 0.106 156.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D4E7F

    #8D4E7F

    oklch(51.5% 0.107 335.8)

  • #775698

    #775698

    oklch(51.6% 0.107 306)

  • #994B5E

    #994B5E

    oklch(51.5% 0.106 6.1)

Open the analogous palette in the generator

Split complementary

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

  • #8D4E7F

    #8D4E7F

    oklch(51.5% 0.107 335.8)

  • #597226

    #597226

    oklch(51.6% 0.107 125.5)

  • #00786F

    #00786F

    oklch(51.5% 0.09 185.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D4E7F

    #8D4E7F

    oklch(51.5% 0.107 335.8)

  • #7A6600

    #7A6600

    oklch(51.4% 0.106 95.5)

  • #007489

    #007489

    oklch(51.5% 0.092 216.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D4E7F

    #8D4E7F

    oklch(51.5% 0.107 335.8)

  • #905914

    #905914

    oklch(51.5% 0.106 65.9)

  • #26794D

    #26794D

    oklch(51.5% 0.106 156.1)

  • #296CA1

    #296CA1

    oklch(51.5% 0.107 246.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8D4E7F 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.