#804B8B

Closest named color: Light Eggplant (#894585). oklch(50% 0.115 320.5), rgb(128, 75, 139).

Aa

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

About this color

#804B8B is a medium-dark, moderately saturated purple. In OKLCH its lightness is 50%, its chroma 0.115 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.021 away. White text reads best on it, at 6.36:1.

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

Values

HEX#804B8B
RGBrgb(128, 75, 139)
HSLhsl(290, 30%, 42%)
OKLCHoklch(50% 0.115 320.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 #804B8B 6.36:1 AA Lc -86.5 Fine for body text
Black text on #804B8B 3.29:1 AA large text Lc 22.6 Dividers and decoration only
#804B8B text on white 6.36:1 AA Lc 81.4 Fine for body text
#804B8B text on black 3.29:1 AA large text Lc -20.4 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

    #EFE7F1

    oklch(93.7% 0.016 319.4)

  3. Step 200

    200

    #E3D3E6

    oklch(88.5% 0.031 320.9)

  4. Step 300

    300

    #D1B5D7

    oklch(80.8% 0.056 320.3)

  5. Step 400

    400

    #BA8EC3

    oklch(70.6% 0.09 320.6)

  6. Step 500

    500

    #A872B4

    oklch(63.2% 0.113 320.2)

  7. Step 600

    600

    #93599F

    oklch(55.6% 0.123 320.6)

  8. Step 700

    700 (this color)

    #804B8B

    oklch(50% 0.115 320.5)

  9. Step 800

    800

    #663C6F

    oklch(42.7% 0.095 320.4)

  10. Step 900

    900

    #53345A

    oklch(37.8% 0.074 320.1)

  11. Step 950

    950

    #311E35

    oklch(27% 0.049 320.5)

Export this scale for Tailwind in the Tailwind colors tool

#804B8B 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)#425B8D0.103
Deuteranopia (no green cones)#5061890.094
Tritanopia (no blue cones)#8153640.072
Achromatopsia (no color)#5F5F5F0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #804B8B

    #804B8B

    oklch(50% 0.115 320.5)

  • #3B7330

    #3B7330

    oklch(50.1% 0.116 140.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804B8B

    #804B8B

    oklch(50% 0.115 320.5)

  • #64559F

    #64559F

    oklch(49.9% 0.115 290.9)

  • #92446C

    #92446C

    oklch(49.9% 0.115 350.1)

Open the analogous palette in the generator

Split complementary

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

  • #804B8B

    #804B8B

    oklch(50% 0.115 320.5)

  • #676800

    #676800

    oklch(50% 0.109 110.4)

  • #00755B

    #00755B

    oklch(50% 0.099 170.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804B8B

    #804B8B

    oklch(50% 0.115 320.5)

  • #815B00

    #815B00

    oklch(49.8% 0.103 80.3)

  • #007177

    #007177

    oklch(49.9% 0.085 201.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804B8B

    #804B8B

    oklch(50% 0.115 320.5)

  • #954C1B

    #954C1B

    oklch(49.8% 0.115 50.4)

  • #3B7330

    #3B7330

    oklch(50.1% 0.116 140.4)

  • #006D91

    #006D91

    oklch(50.1% 0.1 229.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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