#804D94

Closest named color: Light Eggplant (#894585). oklch(50.8% 0.122 315.8), rgb(128, 77, 148).

Aa

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

About this color

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

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

Values

HEX#804D94
RGBrgb(128, 77, 148)
HSLhsl(283, 32%, 44%)
OKLCHoklch(50.8% 0.122 315.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 #804D94 6.16:1 AA Lc -85.7 Fine for body text
Black text on #804D94 3.40:1 AA large text Lc 23.5 Dividers and decoration only
#804D94 text on white 6.16:1 AA Lc 80.5 Fine for body text
#804D94 text on black 3.40:1 AA large text Lc -21.3 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

    #E2D3E8

    oklch(88.5% 0.033 316.4)

  4. Step 300

    300

    #D0B6DB

    oklch(81% 0.058 315.9)

  5. Step 400

    400

    #B88EC9

    oklch(70.7% 0.096 316)

  6. Step 500

    500

    #A671BB

    oklch(63.1% 0.122 316)

  7. Step 600

    600

    #9159A7

    oklch(55.8% 0.131 315.9)

  8. Step 700

    700 (this color)

    #804D94

    oklch(50.8% 0.122 315.8)

  9. Step 800

    800

    #643C74

    oklch(42.8% 0.1 315.7)

  10. Step 900

    900

    #52335E

    oklch(37.7% 0.08 316.1)

  11. Step 950

    950

    #301E37

    oklch(26.9% 0.051 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#804D94 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)#3F5E960.105
Deuteranopia (no green cones)#4E63920.094
Tritanopia (no blue cones)#7F57690.081
Achromatopsia (no color)#6161610.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #804D94

    #804D94

    oklch(50.8% 0.122 315.8)

  • #437426

    #437426

    oklch(50.6% 0.122 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804D94

    #804D94

    oklch(50.8% 0.122 315.8)

  • #6159A7

    #6159A7

    oklch(50.9% 0.121 285.9)

  • #954574

    #954574

    oklch(50.8% 0.122 346)

Open the analogous palette in the generator

Split complementary

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

  • #804D94

    #804D94

    oklch(50.8% 0.122 315.8)

  • #6E6800

    #6E6800

    oklch(50.7% 0.108 105.7)

  • #007857

    #007857

    oklch(50.8% 0.106 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804D94

    #804D94

    oklch(50.8% 0.122 315.8)

  • #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.

  • #804D94

    #804D94

    oklch(50.8% 0.122 315.8)

  • #9C4B20

    #9C4B20

    oklch(50.8% 0.121 45.8)

  • #437426

    #437426

    oklch(50.6% 0.122 135.8)

  • #007090

    #007090

    oklch(50.8% 0.097 226.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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