#871C6B

Closest named color: Red Violet (#9E0168). oklch(43.5% 0.163 341), rgb(135, 28, 107).

Aa

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

About this color

#871C6B is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.163 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.048 away. White text reads best on it, at 8.71:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.163)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.40:1
White text8.71:1

Values

HEX#871C6B
RGBrgb(135, 28, 107)
HSLhsl(316, 66%, 32%)
OKLCHoklch(43.5% 0.163 341)

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 #871C6B 8.71:1 AAA Lc -93.2 Preferred for body text
Black text on #871C6B 2.40:1 Fails Lc 15.4 Dividers and decoration only
#871C6B text on white 8.71:1 AAA Lc 88.6 Fine for body text
#871C6B text on black 2.40:1 Fails Lc -13.6 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3EF

    oklch(93.6% 0.028 342.3)

  3. Step 200

    200

    #F3CCE4

    oklch(88.5% 0.054 340.8)

  4. Step 300

    300

    #EBA8D3

    oklch(80.8% 0.096 340.7)

  5. Step 400

    400

    #DF77BD

    oklch(70.8% 0.153 341)

  6. Step 500

    500

    #D34EAC

    oklch(63.2% 0.195 341.1)

  7. Step 600

    600

    #BE2997

    oklch(55.7% 0.212 341.2)

  8. Step 700

    700

    #A31881

    oklch(49.1% 0.197 340.9)

  9. Step 800

    800 (this color)

    #871C6B

    oklch(43.5% 0.163 341)

  10. Step 900

    900

    #6B1D55

    oklch(37.7% 0.128 341.2)

  11. Step 950

    950

    #3F1332

    oklch(27% 0.081 340.9)

Export this scale for Tailwind in the Tailwind colors tool

#871C6B 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)#26406D0.181
Deuteranopia (no green cones)#4851690.156
Tritanopia (no blue cones)#901F420.074
Achromatopsia (no color)#4B4B4B0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #871C6B

    #871C6B

    oklch(43.5% 0.163 341)

  • #00613F

    #00613F

    oklch(43.5% 0.097 160.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871C6B

    #871C6B

    oklch(43.5% 0.163 341)

  • #6D2C91

    #6D2C91

    oklch(43.4% 0.163 310.9)

  • #95113A

    #95113A

    oklch(43.5% 0.163 11.2)

Open the analogous palette in the generator

Split complementary

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

  • #871C6B

    #871C6B

    oklch(43.5% 0.163 341)

  • #395D00

    #395D00

    oklch(43.4% 0.118 130.8)

  • #005E5B

    #005E5B

    oklch(43.5% 0.075 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871C6B

    #871C6B

    oklch(43.5% 0.163 341)

  • #5C5200

    #5C5200

    oklch(43.5% 0.091 101.3)

  • #005B70

    #005B70

    oklch(43.6% 0.08 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871C6B

    #871C6B

    oklch(43.5% 0.163 341)

  • #714700

    #714700

    oklch(43.6% 0.094 71.2)

  • #00613F

    #00613F

    oklch(43.5% 0.097 160.9)

  • #005293

    #005293

    oklch(43.4% 0.126 251)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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