#904D89

Closest named color: Light Eggplant (#894585). oklch(52.2% 0.12 331.1), rgb(144, 77, 137).

Aa

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

About this color

#904D89 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 52%, its chroma 0.120 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.024 away. White text reads best on it, at 5.81:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.60:1
White text5.81:1

Values

HEX#904D89
RGBrgb(144, 77, 137)
HSLhsl(306, 30%, 43%)
OKLCHoklch(52.2% 0.12 331.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 #904D89 5.81:1 AA Lc -84.1 Fine for body text
Black text on #904D89 3.60:1 AA large text Lc 25.3 Dividers and decoration only
#904D89 text on white 5.81:1 AA Lc 78.8 Fine for body text
#904D89 text on black 3.60:1 AA large text Lc -23.0 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

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6EF

    oklch(93.6% 0.017 331.6)

  3. Step 200

    200

    #E6D2E3

    oklch(88.5% 0.032 330.7)

  4. Step 300

    300

    #D7B3D2

    oklch(80.8% 0.059 330.7)

  5. Step 400

    400

    #C38BBB

    oklch(70.7% 0.093 331.6)

  6. Step 500

    500

    #B26DAA

    oklch(63% 0.119 331.1)

  7. Step 600

    600

    #9D5496

    oklch(55.6% 0.129 330.8)

  8. Step 700

    700 (this color)

    #904D89

    oklch(52.2% 0.12 331.1)

  9. Step 800

    800

    #6D3868

    oklch(42.6% 0.1 330.7)

  10. Step 900

    900

    #593154

    oklch(37.7% 0.078 331.7)

  11. Step 950

    950

    #341D31

    oklch(27% 0.049 331.6)

Export this scale for Tailwind in the Tailwind colors tool

#904D89 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)#4A5F8B0.119
Deuteranopia (no green cones)#5D69870.107
Tritanopia (no blue cones)#9552640.065
Achromatopsia (no color)#6565650.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #904D89

    #904D89

    oklch(52.2% 0.12 331.1)

  • #267C44

    #267C44

    oklch(52.1% 0.119 151.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904D89

    #904D89

    oklch(52.2% 0.12 331.1)

  • #7657A3

    #7657A3

    oklch(52.2% 0.12 301.2)

  • #A04865

    #A04865

    oklch(52.3% 0.121 1.4)

Open the analogous palette in the generator

Split complementary

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

  • #904D89

    #904D89

    oklch(52.2% 0.12 331.1)

  • #60730E

    #60730E

    oklch(52.2% 0.12 120.7)

  • #007B6D

    #007B6D

    oklch(52.3% 0.094 181.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904D89

    #904D89

    oklch(52.2% 0.12 331.1)

  • #816600

    #816600

    oklch(52.2% 0.107 90.5)

  • #007787

    #007787

    oklch(52.2% 0.091 211)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904D89

    #904D89

    oklch(52.2% 0.12 331.1)

  • #9A5603

    #9A5603

    oklch(52.2% 0.12 60.8)

  • #267C44

    #267C44

    oklch(52.1% 0.119 151.2)

  • #0670A8

    #0670A8

    oklch(52.2% 0.121 241.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #904D89 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.