#804F89

Closest named color: Light Eggplant (#894585). oklch(50.6% 0.105 321.2), rgb(128, 79, 137).

Aa

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

About this color

#804F89 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.105 and its hue 321°. 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.18:1.

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

Values

HEX#804F89
RGBrgb(128, 79, 137)
HSLhsl(291, 27%, 42%)
OKLCHoklch(50.6% 0.105 321.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 #804F89 6.18:1 AA Lc -85.8 Fine for body text
Black text on #804F89 3.39:1 AA large text Lc 23.4 Dividers and decoration only
#804F89 text on white 6.18:1 AA Lc 80.6 Fine for body text
#804F89 text on black 3.39:1 AA large text Lc -21.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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7F0

    oklch(93.7% 0.015 322.3)

  3. Step 200

    200

    #E2D3E5

    oklch(88.4% 0.029 320.6)

  4. Step 300

    300

    #D0B6D5

    oklch(80.8% 0.051 320.8)

  5. Step 400

    400

    #B890C0

    oklch(70.7% 0.082 320.7)

  6. Step 500

    500

    #A674B0

    oklch(63.1% 0.104 320.7)

  7. Step 600

    600

    #915B9B

    oklch(55.5% 0.114 321.2)

  8. Step 700

    700 (this color)

    #804F89

    oklch(50.6% 0.105 321.2)

  9. Step 800

    800

    #653E6C

    oklch(42.8% 0.087 321.3)

  10. Step 900

    900

    #523557

    oklch(37.7% 0.067 321.5)

  11. Step 950

    950

    #301F33

    oklch(26.9% 0.043 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#804F89 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)#485E8B0.094
Deuteranopia (no green cones)#5463870.086
Tritanopia (no blue cones)#8156650.066
Achromatopsia (no color)#6161610.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #804F89

    #804F89

    oklch(50.6% 0.105 321.2)

  • #407338

    #407338

    oklch(50.5% 0.105 141)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804F89

    #804F89

    oklch(50.6% 0.105 321.2)

  • #66589C

    #66589C

    oklch(50.5% 0.106 291.6)

  • #91496C

    #91496C

    oklch(50.5% 0.106 351.1)

Open the analogous palette in the generator

Split complementary

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

  • #804F89

    #804F89

    oklch(50.6% 0.105 321.2)

  • #686A0F

    #686A0F

    oklch(50.6% 0.106 111)

  • #00775D

    #00775D

    oklch(50.7% 0.1 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804F89

    #804F89

    oklch(50.6% 0.105 321.2)

  • #835D00

    #835D00

    oklch(50.5% 0.104 80.8)

  • #007379

    #007379

    oklch(50.5% 0.086 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804F89

    #804F89

    oklch(50.6% 0.105 321.2)

  • #935125

    #935125

    oklch(50.5% 0.105 51.6)

  • #407338

    #407338

    oklch(50.5% 0.105 141)

  • #006E94

    #006E94

    oklch(50.5% 0.102 231.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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