#804F95

Closest named color: Light Eggplant (#894585). oklch(51.2% 0.119 315.1), rgb(128, 79, 149).

Aa

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

About this color

#804F95 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.119 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.034 away. White text reads best on it, at 6.05:1.

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

Values

HEX#804F95
RGBrgb(128, 79, 149)
HSLhsl(282, 31%, 45%)
OKLCHoklch(51.2% 0.119 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 #804F95 6.05:1 AA Lc -85.2 Fine for body text
Black text on #804F95 3.47:1 AA large text Lc 24.1 Dividers and decoration only
#804F95 text on white 6.05:1 AA Lc 80.0 Fine for body text
#804F95 text on black 3.47:1 AA large text Lc -21.8 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

    #E1D3E8

    oklch(88.4% 0.032 314.7)

  4. Step 300

    300

    #CFB6DB

    oklch(80.9% 0.058 314.8)

  5. Step 400

    400

    #B78FC8

    oklch(70.7% 0.092 315.6)

  6. Step 500

    500

    #A472BA

    oklch(63% 0.118 315.1)

  7. Step 600

    600

    #8F5AA6

    oklch(55.6% 0.127 315)

  8. Step 700

    700 (this color)

    #804F95

    oklch(51.2% 0.119 315.1)

  9. Step 800

    800

    #633C74

    oklch(42.6% 0.1 314.9)

  10. Step 900

    900

    #51345D

    oklch(37.7% 0.076 315.5)

  11. Step 950

    950

    #2F1F37

    oklch(27% 0.048 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#804F95 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)#4160970.102
Deuteranopia (no green cones)#4F64930.091
Tritanopia (no blue cones)#7F596B0.080
Achromatopsia (no color)#6363630.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #804F95

    #804F95

    oklch(51.2% 0.119 315.1)

  • #477528

    #477528

    oklch(51.2% 0.119 134.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804F95

    #804F95

    oklch(51.2% 0.119 315.1)

  • #615AA8

    #615AA8

    oklch(51.1% 0.121 285.4)

  • #954776

    #954776

    oklch(51.2% 0.119 345)

Open the analogous palette in the generator

Split complementary

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

  • #804F95

    #804F95

    oklch(51.2% 0.119 315.1)

  • #706900

    #706900

    oklch(51.1% 0.108 105)

  • #007957

    #007957

    oklch(51.1% 0.107 165.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804F95

    #804F95

    oklch(51.2% 0.119 315.1)

  • #8A5C00

    #8A5C00

    oklch(51.2% 0.108 75.1)

  • #007676

    #007676

    oklch(51.2% 0.087 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804F95

    #804F95

    oklch(51.2% 0.119 315.1)

  • #9D4D24

    #9D4D24

    oklch(51.3% 0.119 45.5)

  • #477528

    #477528

    oklch(51.2% 0.119 134.9)

  • #007190

    #007190

    oklch(51.1% 0.097 225.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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