#904AB5

Closest named color: Purply (#983FB2). oklch(54.2% 0.171 312.3), rgb(144, 74, 181).

Aa

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

About this color

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

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

Values

HEX#904AB5
RGBrgb(144, 74, 181)
HSLhsl(279, 42%, 50%)
OKLCHoklch(54.2% 0.171 312.3)

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 #904AB5 5.47:1 AA Lc -82.2 Fine for body text
Black text on #904AB5 3.83:1 AA large text Lc 27.2 Dividers and decoration only
#904AB5 text on white 5.47:1 AA Lc 76.9 Fine for body text
#904AB5 text on black 3.83: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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D2EE

    oklch(88.6% 0.042 312.3)

  4. Step 300

    300

    #D2B3E5

    oklch(81% 0.077 312.5)

  5. Step 400

    400

    #BA89D8

    oklch(70.6% 0.123 311.9)

  6. Step 500

    500

    #A969CD

    oklch(63% 0.158 312.2)

  7. Step 600

    600 (this color)

    #904AB5

    oklch(54.2% 0.171 312.3)

  8. Step 700

    700

    #7E3FA0

    oklch(49.1% 0.158 312)

  9. Step 800

    800

    #673482

    oklch(42.7% 0.132 312.3)

  10. Step 900

    900

    #542F68

    oklch(37.8% 0.102 312.5)

  11. Step 950

    950

    #311C3D

    oklch(27% 0.065 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#904AB5 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)#2766B80.152
Deuteranopia (no green cones)#436BB20.134
Tritanopia (no blue cones)#8C5D780.116
Achromatopsia (no color)#6969690.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #904AB5

    #904AB5

    oklch(54.2% 0.171 312.3)

  • #4B8000

    #4B8000

    oklch(54.1% 0.151 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904AB5

    #904AB5

    oklch(54.2% 0.171 312.3)

  • #645CCE

    #645CCE

    oklch(54.3% 0.171 282.3)

  • #AD3C8A

    #AD3C8A

    oklch(54.1% 0.17 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #904AB5

    #904AB5

    oklch(54.2% 0.171 312.3)

  • #7C7100

    #7C7100

    oklch(54.2% 0.114 102.7)

  • #00845A

    #00845A

    oklch(54.2% 0.118 162.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904AB5

    #904AB5

    oklch(54.2% 0.171 312.3)

  • #986200

    #986200

    oklch(54.2% 0.116 72)

  • #00807D

    #00807D

    oklch(54.2% 0.093 191.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904AB5

    #904AB5

    oklch(54.2% 0.171 312.3)

  • #B84500

    #B84500

    oklch(54.1% 0.162 42.5)

  • #4B8000

    #4B8000

    oklch(54.1% 0.151 132.4)

  • #007B99

    #007B99

    oklch(54.1% 0.1 222.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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