#804C95

Closest named color: Light Eggplant (#894585). oklch(50.7% 0.125 315.5), rgb(128, 76, 149).

Aa

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

About this color

#804C95 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.125 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.20:1.

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

Values

HEX#804C95
RGBrgb(128, 76, 149)
HSLhsl(283, 32%, 44%)
OKLCHoklch(50.7% 0.125 315.5)

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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  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

    #A671BC

    oklch(63.1% 0.123 315.5)

  7. Step 600

    600

    #9158A8

    oklch(55.6% 0.134 315.6)

  8. Step 700

    700 (this color)

    #804C95

    oklch(50.7% 0.125 315.5)

  9. Step 800

    800

    #643B75

    oklch(42.6% 0.103 315.3)

  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

#804C95 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)#3D5E980.108
Deuteranopia (no green cones)#4C62930.096
Tritanopia (no blue cones)#7F57690.084
Achromatopsia (no color)#6161610.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #804C95

    #804C95

    oklch(50.7% 0.125 315.5)

  • #437423

    #437423

    oklch(50.6% 0.124 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804C95

    #804C95

    oklch(50.7% 0.125 315.5)

  • #6058A9

    #6058A9

    oklch(50.7% 0.125 285.5)

  • #954475

    #954475

    oklch(50.7% 0.124 345.2)

Open the analogous palette in the generator

Split complementary

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

  • #804C95

    #804C95

    oklch(50.7% 0.125 315.5)

  • #6E6800

    #6E6800

    oklch(50.7% 0.108 105.7)

  • #007856

    #007856

    oklch(50.7% 0.107 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804C95

    #804C95

    oklch(50.7% 0.125 315.5)

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

  • #804C95

    #804C95

    oklch(50.7% 0.125 315.5)

  • #9D4A1D

    #9D4A1D

    oklch(50.7% 0.124 45.8)

  • #437423

    #437423

    oklch(50.6% 0.124 135.3)

  • #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 #804C95, closest first.

Similar named colors

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

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