#871D70

Closest named color: Purple (#800080). oklch(43.8% 0.166 338.5), rgb(135, 29, 112).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.166)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.43:1
White text8.60:1

Values

HEX#871D70
RGBrgb(135, 29, 112)
HSLhsl(313, 65%, 32%)
OKLCHoklch(43.8% 0.166 338.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 #871D70 8.60:1 AAA Lc -93.0 Preferred for body text
Black text on #871D70 2.43:1 Fails Lc 15.7 Dividers and decoration only
#871D70 text on white 8.60:1 AAA Lc 88.3 Fine for body text
#871D70 text on black 2.43:1 Fails Lc -13.8 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

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F2CCE5

    oklch(88.5% 0.054 338.8)

  4. Step 300

    300

    #EAA8D6

    oklch(80.8% 0.097 338.1)

  5. Step 400

    400

    #DD77C1

    oklch(70.7% 0.155 338.4)

  6. Step 500

    500

    #D14EB1

    oklch(63.1% 0.197 338.6)

  7. Step 600

    600

    #BC289D

    oklch(55.6% 0.215 338.3)

  8. Step 700

    700

    #A21786

    oklch(49.1% 0.201 338.5)

  9. Step 800

    800 (this color)

    #871D70

    oklch(43.8% 0.166 338.5)

  10. Step 900

    900

    #6A1D58

    oklch(37.7% 0.129 338.6)

  11. Step 950

    950

    #3E1334

    oklch(27% 0.081 337.8)

Export this scale for Tailwind in the Tailwind colors tool

#871D70 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)#2341720.183
Deuteranopia (no green cones)#47526E0.156
Tritanopia (no blue cones)#8F22450.078
Achromatopsia (no color)#4C4C4C0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #871D70

    #871D70

    oklch(43.8% 0.166 338.5)

  • #00623C

    #00623C

    oklch(43.7% 0.101 158.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871D70

    #871D70

    oklch(43.8% 0.166 338.5)

  • #6C2E96

    #6C2E96

    oklch(43.9% 0.165 308.4)

  • #96103F

    #96103F

    oklch(43.8% 0.165 8.7)

Open the analogous palette in the generator

Split complementary

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

  • #871D70

    #871D70

    oklch(43.8% 0.166 338.5)

  • #3E5D00

    #3E5D00

    oklch(43.7% 0.115 128.6)

  • #005F5A

    #005F5A

    oklch(43.8% 0.076 188.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871D70

    #871D70

    oklch(43.8% 0.166 338.5)

  • #5F5200

    #5F5200

    oklch(43.8% 0.091 98.6)

  • #005C6F

    #005C6F

    oklch(43.8% 0.079 218.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871D70

    #871D70

    oklch(43.8% 0.166 338.5)

  • #744600

    #744600

    oklch(43.8% 0.096 68)

  • #00623C

    #00623C

    oklch(43.7% 0.101 158.5)

  • #005490

    #005490

    oklch(43.7% 0.12 248.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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