#904EA9

Closest named color: Purply (#983FB2). oklch(54% 0.151 315.9), rgb(144, 78, 169).

Aa

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

About this color

#904EA9 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.151 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.036 away. White text reads best on it, at 5.45:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.151)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.84:1
White text5.45:1

Values

HEX#904EA9
RGBrgb(144, 78, 169)
HSLhsl(284, 37%, 48%)
OKLCHoklch(54% 0.151 315.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 #904EA9 5.45:1 AA Lc -82.2 Fine for body text
Black text on #904EA9 3.84:1 AA large text Lc 27.2 Dividers and decoration only
#904EA9 text on white 5.45:1 AA Lc 76.9 Fine for body text
#904EA9 text on black 3.84:1 AA large text Lc -24.9 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 600.

  1. Step 50

    50

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E3D2EA

    oklch(88.5% 0.037 316.2)

  4. Step 300

    300

    #D2B4DF

    oklch(81% 0.068 315.6)

  5. Step 400

    400

    #BB8BCF

    oklch(70.7% 0.11 315.7)

  6. Step 500

    500

    #AA6DC2

    oklch(63.2% 0.139 315.9)

  7. Step 600

    600 (this color)

    #904EA9

    oklch(54% 0.151 315.9)

  8. Step 700

    700

    #7F4396

    oklch(49.2% 0.141 315.8)

  9. Step 800

    800

    #673779

    oklch(42.6% 0.117 316.1)

  10. Step 900

    900

    #543162

    oklch(37.8% 0.09 315.7)

  11. Step 950

    950

    #311D39

    oklch(27% 0.057 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#904EA9 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)#3965AC0.135
Deuteranopia (no green cones)#4F6BA70.119
Tritanopia (no blue cones)#8F5C740.099
Achromatopsia (no color)#6969690.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #904EA9

    #904EA9

    oklch(54% 0.151 315.9)

  • #428113

    #428113

    oklch(54% 0.151 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904EA9

    #904EA9

    oklch(54% 0.151 315.9)

  • #6A5DC1

    #6A5DC1

    oklch(54.1% 0.151 286.1)

  • #A94381

    #A94381

    oklch(53.9% 0.151 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #904EA9

    #904EA9

    oklch(54% 0.151 315.9)

  • #787200

    #787200

    oklch(54% 0.115 106)

  • #00835F

    #00835F

    oklch(54.1% 0.113 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904EA9

    #904EA9

    oklch(54% 0.151 315.9)

  • #946400

    #946400

    oklch(54.1% 0.114 76)

  • #007F80

    #007F80

    oklch(54% 0.092 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904EA9

    #904EA9

    oklch(54% 0.151 315.9)

  • #B24B02

    #B24B02

    oklch(54% 0.151 46.1)

  • #428113

    #428113

    oklch(54% 0.151 135.8)

  • #007A9C

    #007A9C

    oklch(54% 0.103 225.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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