#8D1D8A

Closest named color: Dark Magenta (#8B008B). oklch(46.3% 0.188 329.3), rgb(141, 29, 138).

Aa

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

About this color

#8D1D8A is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.188 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.024 away. White text reads best on it, at 7.84:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.188)
Temperaturein between
Nearest nameDark Magenta (#8B008B)
Black text2.67:1
White text7.84:1

Values

HEX#8D1D8A
RGBrgb(141, 29, 138)
HSLhsl(302, 66%, 33%)
OKLCHoklch(46.3% 0.188 329.3)

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 #8D1D8A 7.84:1 AAA Lc -90.7 Preferred for body text
Black text on #8D1D8A 2.67:1 Fails Lc 18.1 Dividers and decoration only
#8D1D8A text on white 7.84:1 AAA Lc 85.9 Fine for body text
#8D1D8A text on black 2.67:1 Fails Lc -16.1 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #EDCEEA

    oklch(88.6% 0.051 329.1)

  4. Step 300

    300

    #E2ACDD

    oklch(80.9% 0.09 329.5)

  5. Step 400

    400

    #D27DCC

    oklch(70.7% 0.145 329.5)

  6. Step 500

    500

    #C458BF

    oklch(63.2% 0.185 329.3)

  7. Step 600

    600

    #AF37AB

    oklch(55.5% 0.202 329.3)

  8. Step 700

    700 (this color)

    #8D1D8A

    oklch(46.3% 0.188 329.3)

  9. Step 800

    800

    #7A2477

    oklch(42.7% 0.155 329.3)

  10. Step 900

    900

    #632460

    oklch(37.8% 0.121 329.6)

  11. Step 950

    950

    #3A1638

    oklch(27% 0.076 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#8D1D8A 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)#05488D0.205
Deuteranopia (no green cones)#3F57870.172
Tritanopia (no blue cones)#922F530.103
Achromatopsia (no color)#5252520.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D1D8A

    #8D1D8A

    oklch(46.3% 0.188 329.3)

  • #006C2C

    #006C2C

    oklch(46.4% 0.131 149.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D1D8A

    #8D1D8A

    oklch(46.3% 0.188 329.3)

  • #6B32B0

    #6B32B0

    oklch(46.3% 0.188 299.6)

  • #A20056

    #A20056

    oklch(46.2% 0.188 359.1)

Open the analogous palette in the generator

Split complementary

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

  • #8D1D8A

    #8D1D8A

    oklch(46.3% 0.188 329.3)

  • #526100

    #526100

    oklch(46.3% 0.11 119.6)

  • #00685A

    #00685A

    oklch(46.3% 0.084 179.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D1D8A

    #8D1D8A

    oklch(46.3% 0.188 329.3)

  • #6E5500

    #6E5500

    oklch(46.2% 0.094 88.9)

  • #006571

    #006571

    oklch(46.4% 0.08 208.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D1D8A

    #8D1D8A

    oklch(46.3% 0.188 329.3)

  • #844700

    #844700

    oklch(46.3% 0.109 59.5)

  • #006C2C

    #006C2C

    oklch(46.4% 0.131 149.1)

  • #005F8C

    #005F8C

    oklch(46.2% 0.104 239.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8D1D8A.

Similar named colors

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

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