#904AA6

Closest named color: Purply (#983FB2). oklch(53.3% 0.155 317.5), rgb(144, 74, 166).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.155)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.71:1
White text5.65:1

Values

HEX#904AA6
RGBrgb(144, 74, 166)
HSLhsl(286, 38%, 47%)
OKLCHoklch(53.3% 0.155 317.5)

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 #904AA6 5.65:1 AA Lc -83.1 Fine for body text
Black text on #904AA6 3.71:1 AA large text Lc 26.2 Dividers and decoration only
#904AA6 text on white 5.65:1 AA Lc 77.8 Fine for body text
#904AA6 text on black 3.71:1 AA large text Lc -23.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

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E4D2EA

    oklch(88.6% 0.038 317.7)

  4. Step 300

    300

    #D4B3DF

    oklch(80.9% 0.071 317.6)

  5. Step 400

    400

    #BD8ACE

    oklch(70.7% 0.111 317.5)

  6. Step 500

    500

    #AC6BC1

    oklch(63% 0.142 317.5)

  7. Step 600

    600 (this color)

    #904AA6

    oklch(53.3% 0.155 317.5)

  8. Step 700

    700

    #814195

    oklch(49.1% 0.144 317.5)

  9. Step 800

    800

    #693679

    oklch(42.7% 0.12 317.6)

  10. Step 900

    900

    #553061

    oklch(37.7% 0.092 317.4)

  11. Step 950

    950

    #321C39

    oklch(26.9% 0.06 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#904AA6 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)#3663A90.141
Deuteranopia (no green cones)#4D69A40.125
Tritanopia (no blue cones)#8F58710.099
Achromatopsia (no color)#6767670.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #904AA6

    #904AA6

    oklch(53.3% 0.155 317.5)

  • #398012

    #398012

    oklch(53.3% 0.155 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904AA6

    #904AA6

    oklch(53.3% 0.155 317.5)

  • #6A59C0

    #6A59C0

    oklch(53.3% 0.155 287.5)

  • #A93F7D

    #A93F7D

    oklch(53.3% 0.155 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #904AA6

    #904AA6

    oklch(53.3% 0.155 317.5)

  • #747000

    #747000

    oklch(53.2% 0.114 107.2)

  • #008060

    #008060

    oklch(53.3% 0.108 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904AA6

    #904AA6

    oklch(53.3% 0.155 317.5)

  • #906300

    #906300

    oklch(53.4% 0.111 77.6)

  • #007C7F

    #007C7F

    oklch(53.2% 0.091 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904AA6

    #904AA6

    oklch(53.3% 0.155 317.5)

  • #AD4B00

    #AD4B00

    oklch(53.2% 0.146 47.5)

  • #398012

    #398012

    oklch(53.3% 0.155 137.6)

  • #00779B

    #00779B

    oklch(53.2% 0.104 227.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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