#804F87

Closest named color: Light Eggplant (#894585). oklch(50.5% 0.103 322.4), rgb(128, 79, 135).

Aa

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

About this color

#804F87 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 50%, its chroma 0.103 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.027 away. White text reads best on it, at 6.20:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.38:1
White text6.20:1

Values

HEX#804F87
RGBrgb(128, 79, 135)
HSLhsl(293, 26%, 42%)
OKLCHoklch(50.5% 0.103 322.4)

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 #804F87 6.20:1 AA Lc -85.9 Fine for body text
Black text on #804F87 3.38:1 AA large text Lc 23.3 Dividers and decoration only
#804F87 text on white 6.20:1 AA Lc 80.7 Fine for body text
#804F87 text on black 3.38:1 AA large text Lc -21.1 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

    #EFE7F0

    oklch(93.7% 0.015 322.3)

  3. Step 200

    200

    #E2D3E4

    oklch(88.4% 0.028 322.2)

  4. Step 300

    300

    #D1B6D4

    oklch(80.9% 0.051 322.9)

  5. Step 400

    400

    #B990BE

    oklch(70.7% 0.08 322.8)

  6. Step 500

    500

    #A774AE

    oklch(63.1% 0.102 322.5)

  7. Step 600

    600

    #925C99

    oklch(55.7% 0.11 322.8)

  8. Step 700

    700 (this color)

    #804F87

    oklch(50.5% 0.103 322.4)

  9. Step 800

    800

    #653E6A

    oklch(42.7% 0.085 322.8)

  10. Step 900

    900

    #523556

    oklch(37.6% 0.066 322.5)

  11. Step 950

    950

    #301F33

    oklch(26.9% 0.043 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#804F87 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.093
Deuteranopia (no green cones)#5563850.085
Tritanopia (no blue cones)#8255640.064
Achromatopsia (no color)#6161610.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #804F87

    #804F87

    oklch(50.5% 0.103 322.4)

  • #3F733A

    #3F733A

    oklch(50.4% 0.103 142.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804F87

    #804F87

    oklch(50.5% 0.103 322.4)

  • #67589A

    #67589A

    oklch(50.5% 0.103 292.8)

  • #904A6A

    #904A6A

    oklch(50.5% 0.102 352.6)

Open the analogous palette in the generator

Split complementary

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

  • #804F87

    #804F87

    oklch(50.5% 0.103 322.4)

  • #666A15

    #666A15

    oklch(50.5% 0.103 112.3)

  • #00765E

    #00765E

    oklch(50.4% 0.098 172.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804F87

    #804F87

    oklch(50.5% 0.103 322.4)

  • #815E02

    #815E02

    oklch(50.5% 0.103 83)

  • #00737A

    #00737A

    oklch(50.6% 0.086 202.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804F87

    #804F87

    oklch(50.5% 0.103 322.4)

  • #925226

    #925226

    oklch(50.6% 0.103 52.5)

  • #3F733A

    #3F733A

    oklch(50.4% 0.103 142.1)

  • #016E95

    #016E95

    oklch(50.6% 0.103 231.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #804F87 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.