#874D98

Closest named color: Light Eggplant (#894585). oklch(51.8% 0.13 318.2), rgb(135, 77, 152).

Aa

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

About this color

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

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

Values

HEX#874D98
RGBrgb(135, 77, 152)
HSLhsl(286, 33%, 45%)
OKLCHoklch(51.8% 0.13 318.2)

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 #874D98 5.92:1 AA Lc -84.6 Fine for body text
Black text on #874D98 3.54:1 AA large text Lc 24.7 Dividers and decoration only
#874D98 text on white 5.92:1 AA Lc 79.3 Fine for body text
#874D98 text on black 3.54:1 AA large text Lc -22.5 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

    #D2B4DB

    oklch(80.8% 0.063 318.3)

  5. Step 400

    400

    #BB8CC9

    oklch(70.6% 0.101 318.3)

  6. Step 500

    500

    #AA6FBB

    oklch(63.2% 0.128 318.5)

  7. Step 600

    600

    #9555A7

    oklch(55.6% 0.14 318.5)

  8. Step 700

    700 (this color)

    #874D98

    oklch(51.8% 0.13 318.2)

  9. Step 800

    800

    #673974

    oklch(42.6% 0.107 318.5)

  10. Step 900

    900

    #54325E

    oklch(37.8% 0.083 318.3)

  11. Step 950

    950

    #311E37

    oklch(27.1% 0.052 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#874D98 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)#40609B0.115
Deuteranopia (no green cones)#5166960.103
Tritanopia (no blue cones)#87576B0.083
Achromatopsia (no color)#6464640.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #874D98

    #874D98

    oklch(51.8% 0.13 318.2)

  • #3E7928

    #3E7928

    oklch(51.8% 0.13 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #874D98

    #874D98

    oklch(51.8% 0.13 318.2)

  • #6759AE

    #6759AE

    oklch(51.8% 0.13 288.6)

  • #9C4575

    #9C4575

    oklch(51.8% 0.129 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #874D98

    #874D98

    oklch(51.8% 0.13 318.2)

  • #6F6D00

    #6F6D00

    oklch(52% 0.112 108.5)

  • #007B5D

    #007B5D

    oklch(51.8% 0.104 168.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #874D98

    #874D98

    oklch(51.8% 0.13 318.2)

  • #8A5F00

    #8A5F00

    oklch(51.8% 0.108 77.9)

  • #00787B

    #00787B

    oklch(52% 0.088 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #874D98

    #874D98

    oklch(51.8% 0.13 318.2)

  • #A24D15

    #A24D15

    oklch(51.9% 0.13 48.5)

  • #3E7928

    #3E7928

    oklch(51.8% 0.13 138.3)

  • #007396

    #007396

    oklch(51.9% 0.101 228)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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