#904DAD

Closest named color: Purply (#983FB2). oklch(54.1% 0.157 314.6), rgb(144, 77, 173).

Aa

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

About this color

#904DAD is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.157 and its hue 315°. 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.45:1.

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

Values

HEX#904DAD
RGBrgb(144, 77, 173)
HSLhsl(282, 38%, 49%)
OKLCHoklch(54.1% 0.157 314.6)

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 #904DAD 5.45:1 AA Lc -82.1 Fine for body text
Black text on #904DAD 3.85:1 AA large text Lc 27.3 Dividers and decoration only
#904DAD text on white 5.45:1 AA Lc 76.8 Fine for body text
#904DAD text on black 3.85: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

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E3D2EC

    oklch(88.5% 0.04 314.1)

  4. Step 300

    300

    #D2B3E1

    oklch(80.8% 0.072 314.7)

  5. Step 400

    400

    #BB8BD1

    oklch(70.8% 0.112 314.8)

  6. Step 500

    500

    #A96CC5

    oklch(63.1% 0.144 314.4)

  7. Step 600

    600 (this color)

    #904DAD

    oklch(54.1% 0.157 314.6)

  8. Step 700

    700

    #7F4199

    oklch(49.1% 0.147 314.8)

  9. Step 800

    800

    #67377C

    oklch(42.8% 0.12 314.6)

  10. Step 900

    900

    #543064

    oklch(37.7% 0.095 314.6)

  11. Step 950

    950

    #311D3A

    oklch(27% 0.058 314.7)

Export this scale for Tailwind in the Tailwind colors tool

#904DAD 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)#3566B00.140
Deuteranopia (no green cones)#4B6BAB0.124
Tritanopia (no blue cones)#8E5D760.105
Achromatopsia (no color)#6969690.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #904DAD

    #904DAD

    oklch(54.1% 0.157 314.6)

  • #438100

    #438100

    oklch(54% 0.157 134.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904DAD

    #904DAD

    oklch(54.1% 0.157 314.6)

  • #685DC5

    #685DC5

    oklch(54.2% 0.156 284.7)

  • #AB4184

    #AB4184

    oklch(54.1% 0.158 344.8)

Open the analogous palette in the generator

Split complementary

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

  • #904DAD

    #904DAD

    oklch(54.1% 0.157 314.6)

  • #7A7200

    #7A7200

    oklch(54.2% 0.115 104.7)

  • #00835E

    #00835E

    oklch(54% 0.114 165)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904DAD

    #904DAD

    oklch(54.1% 0.157 314.6)

  • #956300

    #956300

    oklch(54% 0.114 74.6)

  • #007F7F

    #007F7F

    oklch(54% 0.092 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904DAD

    #904DAD

    oklch(54.1% 0.157 314.6)

  • #B54900

    #B54900

    oklch(54.2% 0.156 44.8)

  • #438100

    #438100

    oklch(54% 0.157 134.6)

  • #007B9B

    #007B9B

    oklch(54.2% 0.102 224.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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