#8D287C

Closest named color: Warm Purple (#952E8F). oklch(46.4% 0.165 335.5), rgb(141, 40, 124).

Aa

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

About this color

#8D287C is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.165 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.035 away. White text reads best on it, at 7.70:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.165)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.72:1
White text7.70:1

Values

HEX#8D287C
RGBrgb(141, 40, 124)
HSLhsl(310, 56%, 35%)
OKLCHoklch(46.4% 0.165 335.5)

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 #8D287C 7.70:1 AAA Lc -90.6 Preferred for body text
Black text on #8D287C 2.72:1 Fails Lc 18.3 Dividers and decoration only
#8D287C text on white 7.70:1 AAA Lc 85.8 Fine for body text
#8D287C text on black 2.72:1 Fails Lc -16.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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #EDCFE5

    oklch(88.6% 0.044 335.4)

  4. Step 300

    300

    #E2ADD5

    oklch(80.8% 0.081 335.3)

  5. Step 400

    400

    #D280BF

    oklch(70.7% 0.129 335.9)

  6. Step 500

    500

    #C45DAF

    oklch(63.1% 0.164 335.7)

  7. Step 600

    600

    #AF409B

    oklch(55.6% 0.178 335.5)

  8. Step 700

    700 (this color)

    #8D287C

    oklch(46.4% 0.165 335.5)

  9. Step 800

    800

    #7A2A6B

    oklch(42.7% 0.137 335.9)

  10. Step 900

    900

    #622757

    oklch(37.6% 0.107 335.3)

  11. Step 950

    950

    #3A1833

    oklch(27% 0.067 335.7)

Export this scale for Tailwind in the Tailwind colors tool

#8D287C 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)#28497E0.179
Deuteranopia (no green cones)#4B587A0.153
Tritanopia (no blue cones)#942F4F0.081
Achromatopsia (no color)#5353530.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D287C

    #8D287C

    oklch(46.4% 0.165 335.5)

  • #006B3C

    #006B3C

    oklch(46.4% 0.114 155.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D287C

    #8D287C

    oklch(46.4% 0.165 335.5)

  • #7037A1

    #7037A1

    oklch(46.4% 0.166 305.5)

  • #9E1D4C

    #9E1D4C

    oklch(46.4% 0.166 5.4)

Open the analogous palette in the generator

Split complementary

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

  • #8D287C

    #8D287C

    oklch(46.4% 0.165 335.5)

  • #496400

    #496400

    oklch(46.4% 0.118 125.8)

  • #00685F

    #00685F

    oklch(46.5% 0.082 184.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D287C

    #8D287C

    oklch(46.4% 0.165 335.5)

  • #6A5800

    #6A5800

    oklch(46.5% 0.095 95.2)

  • #006476

    #006476

    oklch(46.3% 0.082 215.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D287C

    #8D287C

    oklch(46.4% 0.165 335.5)

  • #804B00

    #804B00

    oklch(46.5% 0.104 65.4)

  • #006B3C

    #006B3C

    oklch(46.4% 0.114 155.4)

  • #005D96

    #005D96

    oklch(46.3% 0.118 245.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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