#872785

Closest named color: Warm Purple (#952E8F). oklch(45.8% 0.17 328.8), rgb(135, 39, 133).

Aa

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

About this color

#872785 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.170 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.035 away. White text reads best on it, at 7.89:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.170)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.65:1
White text7.89:1

Values

HEX#872785
RGBrgb(135, 39, 133)
HSLhsl(301, 55%, 34%)
OKLCHoklch(45.8% 0.17 328.8)

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 #872785 7.89:1 AAA Lc -91.2 Preferred for body text
Black text on #872785 2.65:1 Fails Lc 17.6 Dividers and decoration only
#872785 text on white 7.89:1 AAA Lc 86.4 Fine for body text
#872785 text on black 2.65:1 Fails Lc -15.7 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F5E3F4

    oklch(93.5% 0.03 327.5)

  3. Step 200

    200

    #EECDEB

    oklch(88.5% 0.054 328.9)

  4. Step 300

    300

    #E5AAE1

    oklch(81% 0.1 328.7)

  5. Step 400

    400

    #D579D1

    oklch(70.7% 0.159 328.7)

  6. Step 500

    500

    #C851C5

    oklch(63.2% 0.203 328.7)

  7. Step 600

    600

    #B32CB1

    oklch(55.5% 0.221 328.7)

  8. Step 700

    700

    #9A1C98

    oklch(49.1% 0.205 328.9)

  9. Step 800

    800 (this color)

    #872785

    oklch(45.8% 0.17 328.8)

  10. Step 900

    900

    #651F63

    oklch(37.7% 0.132 329)

  11. Step 950

    950

    #3B143A

    oklch(27% 0.083 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#872785 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)#1A49880.180
Deuteranopia (no green cones)#4156830.153
Tritanopia (no blue cones)#8C34530.094
Achromatopsia (no color)#5151510.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #872785

    #872785

    oklch(45.8% 0.17 328.8)

  • #006A2A

    #006A2A

    oklch(45.8% 0.13 148.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #872785

    #872785

    oklch(45.8% 0.17 328.8)

  • #6738A7

    #6738A7

    oklch(45.9% 0.17 299)

  • #9B1856

    #9B1856

    oklch(45.9% 0.17 358.7)

Open the analogous palette in the generator

Split complementary

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

  • #872785

    #872785

    oklch(45.8% 0.17 328.8)

  • #525F00

    #525F00

    oklch(45.8% 0.107 118.6)

  • #006758

    #006758

    oklch(46% 0.085 178.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #872785

    #872785

    oklch(45.8% 0.17 328.8)

  • #6D5400

    #6D5400

    oklch(45.9% 0.094 88.6)

  • #00636F

    #00636F

    oklch(45.8% 0.079 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #872785

    #872785

    oklch(45.8% 0.17 328.8)

  • #834500

    #834500

    oklch(45.8% 0.109 58.3)

  • #006A2A

    #006A2A

    oklch(45.8% 0.13 148.8)

  • #005E8A

    #005E8A

    oklch(45.8% 0.103 238.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #872785 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.