#804C96

Closest named color: Light Eggplant (#894585). oklch(50.7% 0.126 315.1), rgb(128, 76, 150).

Aa

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

About this color

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

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

Values

HEX#804C96
RGBrgb(128, 76, 150)
HSLhsl(282, 33%, 44%)
OKLCHoklch(50.7% 0.126 315.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 #804C96 6.19:1 AA Lc -85.8 Fine for body text
Black text on #804C96 3.39:1 AA large text Lc 23.4 Dividers and decoration only
#804C96 text on white 6.19:1 AA Lc 80.6 Fine for body text
#804C96 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E2D3E9

    oklch(88.6% 0.034 315.2)

  4. Step 300

    300

    #D0B5DC

    oklch(80.9% 0.061 315.5)

  5. Step 400

    400

    #B88ECA

    oklch(70.7% 0.097 315.5)

  6. Step 500

    500

    #A671BD

    oklch(63.2% 0.124 315.1)

  7. Step 600

    600

    #9158A9

    oklch(55.7% 0.135 315.2)

  8. Step 700

    700 (this color)

    #804C96

    oklch(50.7% 0.126 315.1)

  9. Step 800

    800

    #643B76

    oklch(42.7% 0.105 314.8)

  10. Step 900

    900

    #52335F

    oklch(37.7% 0.082 315.4)

  11. Step 950

    950

    #301E38

    oklch(27% 0.053 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#804C96 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)#3D5E990.108
Deuteranopia (no green cones)#4C63940.098
Tritanopia (no blue cones)#7F576A0.084
Achromatopsia (no color)#6161610.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #804C96

    #804C96

    oklch(50.7% 0.126 315.1)

  • #437421

    #437421

    oklch(50.6% 0.125 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804C96

    #804C96

    oklch(50.7% 0.126 315.1)

  • #5F58A9

    #5F58A9

    oklch(50.6% 0.125 284.9)

  • #964375

    #964375

    oklch(50.7% 0.127 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #804C96

    #804C96

    oklch(50.7% 0.126 315.1)

  • #6F6800

    #6F6800

    oklch(50.8% 0.108 105)

  • #007856

    #007856

    oklch(50.7% 0.107 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804C96

    #804C96

    oklch(50.7% 0.126 315.1)

  • #885B00

    #885B00

    oklch(50.7% 0.107 75.5)

  • #007475

    #007475

    oklch(50.6% 0.086 195.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804C96

    #804C96

    oklch(50.7% 0.126 315.1)

  • #9E491D

    #9E491D

    oklch(50.7% 0.126 44.9)

  • #437421

    #437421

    oklch(50.6% 0.125 135)

  • #00708F

    #00708F

    oklch(50.7% 0.097 225.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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