#904DE9

Closest named color: Purpley (#8756E4). oklch(58.1% 0.223 298.9), rgb(144, 77, 233).

Aa

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

About this color

#904DE9 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.223 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.023 away. White text reads best on it, at 4.74:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.223)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.42:1
White text4.74:1

Values

HEX#904DE9
RGBrgb(144, 77, 233)
HSLhsl(266, 78%, 61%)
OKLCHoklch(58.1% 0.223 298.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 #904DE9 4.74:1 AA Lc -77.7 Fine for body text
Black text on #904DE9 4.42:1 AA large text Lc 31.8 Non-text elements, placeholder text
#904DE9 text on white 4.74:1 AA Lc 72.3 Content text, not long reading
#904DE9 text on black 4.42:1 AA large text Lc -29.4 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DED2FA

    oklch(88.6% 0.056 299)

  4. Step 300

    300

    #C9B2F9

    oklch(80.8% 0.101 299)

  5. Step 400

    400

    #AF87F6

    oklch(70.7% 0.161 298.9)

  6. Step 500

    500

    #9D64F2

    oklch(63.2% 0.205 298.9)

  7. Step 600

    600 (this color)

    #904DE9

    oklch(58.1% 0.223 298.9)

  8. Step 700

    700

    #7434C3

    oklch(49.1% 0.208 298.8)

  9. Step 800

    800

    #5E2D9E

    oklch(42.7% 0.172 298.6)

  10. Step 900

    900

    #4D2A7D

    oklch(37.6% 0.135 299.2)

  11. Step 950

    950

    #2D1A49

    oklch(27% 0.084 299.3)

Export this scale for Tailwind in the Tailwind colors tool

#904DE9 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)#0073EE0.154
Deuteranopia (no green cones)#0071E60.155
Tritanopia (no blue cones)#7B72950.170
Achromatopsia (no color)#7373730.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #904DE9

    #904DE9

    oklch(58.1% 0.223 298.9)

  • #738500

    #738500

    oklch(58.2% 0.136 118.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904DE9

    #904DE9

    oklch(58.1% 0.223 298.9)

  • #4767FC

    #4767FC

    oklch(58% 0.224 268.9)

  • #BC34B9

    #BC34B9

    oklch(58% 0.223 328.9)

Open the analogous palette in the generator

Split complementary

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

  • #904DE9

    #904DE9

    oklch(58.1% 0.223 298.9)

  • #977600

    #977600

    oklch(58.2% 0.119 89.1)

  • #00943E

    #00943E

    oklch(58.2% 0.165 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904DE9

    #904DE9

    oklch(58.1% 0.223 298.9)

  • #B56200

    #B56200

    oklch(58.1% 0.138 58.5)

  • #008F7C

    #008F7C

    oklch(58.2% 0.106 179)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904DE9

    #904DE9

    oklch(58.1% 0.223 298.9)

  • #E02019

    #E02019

    oklch(58% 0.223 28.9)

  • #738500

    #738500

    oklch(58.2% 0.136 118.8)

  • #008A9A

    #008A9A

    oklch(58% 0.1 209.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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