#874D87

Closest named color: Light Eggplant (#894585). oklch(51% 0.112 327.1), rgb(135, 77, 135).

Aa

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

About this color

#874D87 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.112 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.018 away. White text reads best on it, at 6.10:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.44:1
White text6.10:1

Values

HEX#874D87
RGBrgb(135, 77, 135)
HSLhsl(300, 27%, 42%)
OKLCHoklch(51% 0.112 327.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 #874D87 6.10:1 AA Lc -85.4 Fine for body text
Black text on #874D87 3.44:1 AA large text Lc 23.8 Dividers and decoration only
#874D87 text on white 6.10:1 AA Lc 80.2 Fine for body text
#874D87 text on black 3.44:1 AA large text Lc -21.6 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 700.

  1. Step 50

    50

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E4D3E4

    oklch(88.6% 0.029 325.8)

  4. Step 300

    300

    #D4B5D3

    oklch(80.9% 0.054 327.1)

  5. Step 400

    400

    #BE8EBD

    oklch(70.8% 0.086 327.1)

  6. Step 500

    500

    #AD71AC

    oklch(63.2% 0.11 327.3)

  7. Step 600

    600

    #985898

    oklch(55.7% 0.121 327)

  8. Step 700

    700 (this color)

    #874D87

    oklch(51% 0.112 327.1)

  9. Step 800

    800

    #693B69

    oklch(42.6% 0.093 327)

  10. Step 900

    900

    #563355

    oklch(37.7% 0.072 327.9)

  11. Step 950

    950

    #321E32

    oklch(26.9% 0.046 326.8)

Export this scale for Tailwind in the Tailwind colors tool

#874D87 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)#485D890.106
Deuteranopia (no green cones)#5865850.096
Tritanopia (no blue cones)#8A53630.065
Achromatopsia (no color)#6262620.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #874D87

    #874D87

    oklch(51% 0.112 327.1)

  • #33773E

    #33773E

    oklch(51% 0.112 147)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #874D87

    #874D87

    oklch(51% 0.112 327.1)

  • #6D579E

    #6D579E

    oklch(51.1% 0.111 296.5)

  • #974867

    #974867

    oklch(51% 0.111 357)

Open the analogous palette in the generator

Split complementary

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

  • #874D87

    #874D87

    oklch(51% 0.112 327.1)

  • #626E0F

    #626E0F

    oklch(51.1% 0.112 117.2)

  • #007765

    #007765

    oklch(50.9% 0.094 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #874D87

    #874D87

    oklch(51% 0.112 327.1)

  • #806100

    #806100

    oklch(51% 0.104 86.7)

  • #00747F

    #00747F

    oklch(51.1% 0.087 206.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #874D87

    #874D87

    oklch(51% 0.112 327.1)

  • #955318

    #955318

    oklch(51% 0.112 57)

  • #33773E

    #33773E

    oklch(51% 0.112 147)

  • #006E9D

    #006E9D

    oklch(51% 0.111 236.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #874D87 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.