#872D6D

Closest named color: Red Violet (#9E0168). oklch(45.2% 0.143 341), rgb(135, 45, 109).

Aa

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

About this color

#872D6D is a medium-dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.143 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.056 away. White text reads best on it, at 7.99:1.

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.62:1
White text7.99:1

Values

HEX#872D6D
RGBrgb(135, 45, 109)
HSLhsl(317, 50%, 35%)
OKLCHoklch(45.2% 0.143 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 #872D6D 7.99:1 AAA Lc -91.7 Preferred for body text
Black text on #872D6D 2.62:1 Fails Lc 17.1 Dividers and decoration only
#872D6D text on white 7.99:1 AAA Lc 86.9 Fine for body text
#872D6D text on black 2.62:1 Fails Lc -15.2 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 800.

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #F0CEE2

    oklch(88.6% 0.046 341.9)

  4. Step 300

    300

    #E7ACD1

    oklch(81% 0.084 341.1)

  5. Step 400

    400

    #D87DB9

    oklch(70.7% 0.134 341.2)

  6. Step 500

    500

    #CB58A8

    oklch(63.1% 0.172 340.9)

  7. Step 600

    600

    #B63993

    oklch(55.6% 0.187 341)

  8. Step 700

    700

    #9C2A7D

    oklch(49% 0.173 341)

  9. Step 800

    800 (this color)

    #872D6D

    oklch(45.2% 0.143 341)

  10. Step 900

    900

    #672453

    oklch(37.7% 0.113 341.1)

  11. Step 950

    950

    #3C1631

    oklch(26.9% 0.071 340)

Export this scale for Tailwind in the Tailwind colors tool

#872D6D 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)#33476F0.155
Deuteranopia (no green cones)#4E566B0.137
Tritanopia (no blue cones)#8F2F490.064
Achromatopsia (no color)#5151510.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #872D6D

    #872D6D

    oklch(45.2% 0.143 341)

  • #006643

    #006643

    oklch(45.1% 0.1 161.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #872D6D

    #872D6D

    oklch(45.2% 0.143 341)

  • #6F388F

    #6F388F

    oklch(45.1% 0.144 311.1)

  • #942842

    #942842

    oklch(45.3% 0.143 11)

Open the analogous palette in the generator

Split complementary

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

  • #872D6D

    #872D6D

    oklch(45.2% 0.143 341)

  • #3C6300

    #3C6300

    oklch(45.3% 0.124 131.2)

  • #006360

    #006360

    oklch(45.1% 0.078 191.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #872D6D

    #872D6D

    oklch(45.2% 0.143 341)

  • #615700

    #615700

    oklch(45.2% 0.095 101.7)

  • #006076

    #006076

    oklch(45.3% 0.083 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #872D6D

    #872D6D

    oklch(45.2% 0.143 341)

  • #774B00

    #774B00

    oklch(45.2% 0.097 71.2)

  • #006643

    #006643

    oklch(45.1% 0.1 161.2)

  • #00579B

    #00579B

    oklch(45.2% 0.131 250.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #872D6D 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.