#871F75

Closest named color: Purple (#800080). oklch(44.2% 0.167 336.1), rgb(135, 31, 117).

Aa

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

About this color

#871F75 is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.167 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purple (#800080), ΔE 0.042 away. White text reads best on it, at 8.45:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.167)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.48:1
White text8.45:1

Values

HEX#871F75
RGBrgb(135, 31, 117)
HSLhsl(310, 63%, 33%)
OKLCHoklch(44.2% 0.167 336.1)

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 #871F75 8.45:1 AAA Lc -92.6 Preferred for body text
Black text on #871F75 2.48:1 Fails Lc 16.0 Dividers and decoration only
#871F75 text on white 8.45:1 AAA Lc 88.0 Fine for body text
#871F75 text on black 2.48:1 Fails Lc -14.2 Not readable

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 800.

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F1CCE7

    oklch(88.5% 0.054 335.7)

  4. Step 300

    300

    #E9A9D9

    oklch(81% 0.097 335.8)

  5. Step 400

    400

    #DC77C5

    oklch(70.7% 0.157 336.3)

  6. Step 500

    500

    #CF4EB6

    oklch(63.1% 0.2 336.1)

  7. Step 600

    600

    #BA29A2

    oklch(55.6% 0.217 336)

  8. Step 700

    700

    #A0188A

    oklch(49.1% 0.201 336.3)

  9. Step 800

    800 (this color)

    #871F75

    oklch(44.2% 0.167 336.1)

  10. Step 900

    900

    #691E5B

    oklch(37.8% 0.129 336.2)

  11. Step 950

    950

    #3E1335

    oklch(27% 0.082 336.7)

Export this scale for Tailwind in the Tailwind colors tool

#871F75 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)#2143770.183
Deuteranopia (no green cones)#4553730.157
Tritanopia (no blue cones)#8E27480.082
Achromatopsia (no color)#4D4D4D0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #871F75

    #871F75

    oklch(44.2% 0.167 336.1)

  • #006439

    #006439

    oklch(44.2% 0.107 156.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871F75

    #871F75

    oklch(44.2% 0.167 336.1)

  • #6B309A

    #6B309A

    oklch(44.3% 0.167 306.2)

  • #971145

    #971145

    oklch(44.2% 0.167 5.9)

Open the analogous palette in the generator

Split complementary

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

  • #871F75

    #871F75

    oklch(44.2% 0.167 336.1)

  • #435D00

    #435D00

    oklch(44.1% 0.112 126.2)

  • #00615A

    #00615A

    oklch(44.3% 0.078 186.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871F75

    #871F75

    oklch(44.2% 0.167 336.1)

  • #625200

    #625200

    oklch(44.2% 0.091 96)

  • #005D6F

    #005D6F

    oklch(44.1% 0.079 216.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871F75

    #871F75

    oklch(44.2% 0.167 336.1)

  • #774600

    #774600

    oklch(44.2% 0.098 66)

  • #006439

    #006439

    oklch(44.2% 0.107 156.1)

  • #00578E

    #00578E

    oklch(44.3% 0.114 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 #871F75, closest first.

Similar named colors

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

Use #871F75 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.