#874C97

Closest named color: Light Eggplant (#894585). oklch(51.6% 0.131 318.8), rgb(135, 76, 151).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.51:1
White text5.98:1

Values

HEX#874C97
RGBrgb(135, 76, 151)
HSLhsl(287, 33%, 45%)
OKLCHoklch(51.6% 0.131 318.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 #874C97 5.98:1 AA Lc -84.8 Fine for body text
Black text on #874C97 3.51:1 AA large text Lc 24.5 Dividers and decoration only
#874C97 text on white 5.98:1 AA Lc 79.6 Fine for body text
#874C97 text on black 3.51:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E3D2E8

    oklch(88.4% 0.035 318.5)

  4. Step 300

    300

    #D3B4DB

    oklch(80.9% 0.064 319.3)

  5. Step 400

    400

    #BC8CC9

    oklch(70.7% 0.102 319)

  6. Step 500

    500

    #AA6EBB

    oklch(63% 0.129 318.6)

  7. Step 600

    600

    #9555A7

    oklch(55.6% 0.14 318.5)

  8. Step 700

    700 (this color)

    #874C97

    oklch(51.6% 0.131 318.8)

  9. Step 800

    800

    #683974

    oklch(42.8% 0.108 319.2)

  10. Step 900

    900

    #54325E

    oklch(37.8% 0.083 318.3)

  11. Step 950

    950

    #311D37

    oklch(26.9% 0.054 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#874C97 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)#3F5F9A0.117
Deuteranopia (no green cones)#5065950.105
Tritanopia (no blue cones)#87566A0.083
Achromatopsia (no color)#6363630.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #874C97

    #874C97

    oklch(51.6% 0.131 318.8)

  • #3C7928

    #3C7928

    oklch(51.7% 0.131 138.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #874C97

    #874C97

    oklch(51.6% 0.131 318.8)

  • #6758AD

    #6758AD

    oklch(51.6% 0.131 289.1)

  • #9C4474

    #9C4474

    oklch(51.7% 0.13 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #874C97

    #874C97

    oklch(51.6% 0.131 318.8)

  • #6E6C00

    #6E6C00

    oklch(51.6% 0.112 108.5)

  • #007A5D

    #007A5D

    oklch(51.5% 0.103 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #874C97

    #874C97

    oklch(51.6% 0.131 318.8)

  • #895F00

    #895F00

    oklch(51.7% 0.108 78.6)

  • #00777B

    #00777B

    oklch(51.7% 0.088 198.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #874C97

    #874C97

    oklch(51.6% 0.131 318.8)

  • #A14C12

    #A14C12

    oklch(51.6% 0.13 48.8)

  • #3C7928

    #3C7928

    oklch(51.7% 0.131 138.9)

  • #007296

    #007296

    oklch(51.6% 0.102 228.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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