#904A8B

Closest named color: Light Eggplant (#894585). oklch(51.9% 0.127 329.9), rgb(144, 74, 139).

Aa

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

About this color

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

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

Values

HEX#904A8B
RGBrgb(144, 74, 139)
HSLhsl(304, 32%, 43%)
OKLCHoklch(51.9% 0.127 329.9)

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 #904A8B 5.93:1 AA Lc -84.5 Fine for body text
Black text on #904A8B 3.53:1 AA large text Lc 24.7 Dividers and decoration only
#904A8B text on white 5.93:1 AA Lc 79.3 Fine for body text
#904A8B text on black 3.53:1 AA large text Lc -22.5 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E7D1E4

    oklch(88.4% 0.035 330.3)

  4. Step 300

    300

    #D8B3D4

    oklch(80.9% 0.061 329.7)

  5. Step 400

    400

    #C48ABE

    oklch(70.7% 0.099 330.2)

  6. Step 500

    500

    #B36CAE

    oklch(63.1% 0.125 329.5)

  7. Step 600

    600

    #9E5299

    oklch(55.6% 0.136 329.7)

  8. Step 700

    700 (this color)

    #904A8B

    oklch(51.9% 0.127 329.9)

  9. Step 800

    800

    #6E376A

    oklch(42.7% 0.105 330)

  10. Step 900

    900

    #593056

    oklch(37.6% 0.082 329.7)

  11. Step 950

    950

    #341C32

    oklch(26.8% 0.052 329.9)

Export this scale for Tailwind in the Tailwind colors tool

#904A8B 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)#465E8D0.126
Deuteranopia (no green cones)#5A67890.112
Tritanopia (no blue cones)#9550640.070
Achromatopsia (no color)#6464640.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #904A8B

    #904A8B

    oklch(51.9% 0.127 329.9)

  • #207C3E

    #207C3E

    oklch(51.8% 0.128 149.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904A8B

    #904A8B

    oklch(51.9% 0.127 329.9)

  • #7455A6

    #7455A6

    oklch(51.9% 0.127 299.6)

  • #A14466

    #A14466

    oklch(51.9% 0.128 359.7)

Open the analogous palette in the generator

Split complementary

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

  • #904A8B

    #904A8B

    oklch(51.9% 0.127 329.9)

  • #607200

    #607200

    oklch(51.9% 0.123 120)

  • #007A6A

    #007A6A

    oklch(51.9% 0.095 179.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904A8B

    #904A8B

    oklch(51.9% 0.127 329.9)

  • #806500

    #806500

    oklch(51.9% 0.106 90.3)

  • #007685

    #007685

    oklch(51.8% 0.09 210.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904A8B

    #904A8B

    oklch(51.9% 0.127 329.9)

  • #9A5400

    #9A5400

    oklch(51.8% 0.122 59.6)

  • #207C3E

    #207C3E

    oklch(51.8% 0.128 149.9)

  • #0070A5

    #0070A5

    oklch(51.9% 0.118 239.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #904A8B.

Similar named colors

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

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