#904DDD

Closest named color: Purpley (#8756E4). oklch(57.2% 0.21 301.4), rgb(144, 77, 221).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.210)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.29:1
White text4.89:1

Values

HEX#904DDD
RGBrgb(144, 77, 221)
HSLhsl(268, 68%, 58%)
OKLCHoklch(57.2% 0.21 301.4)

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 #904DDD 4.89:1 AA Lc -78.7 Fine for body text
Black text on #904DDD 4.29:1 AA large text Lc 30.8 Non-text elements, placeholder text
#904DDD text on white 4.89:1 AA Lc 73.3 Content text, not long reading
#904DDD text on black 4.29:1 AA large text Lc -28.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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD2F7

    oklch(88.6% 0.052 301.3)

  4. Step 300

    300

    #CBB3F4

    oklch(81% 0.093 301.3)

  5. Step 400

    400

    #B288EF

    oklch(70.8% 0.151 301.5)

  6. Step 500

    500

    #A065E9

    oklch(63.1% 0.194 301.7)

  7. Step 600

    600 (this color)

    #904DDD

    oklch(57.2% 0.21 301.4)

  8. Step 700

    700

    #7637BB

    oklch(49% 0.196 301.2)

  9. Step 800

    800

    #602F97

    oklch(42.6% 0.162 301.4)

  10. Step 900

    900

    #4E2C78

    oklch(37.7% 0.125 301.2)

  11. Step 950

    950

    #2E1B46

    oklch(27.1% 0.079 301.8)

Export this scale for Tailwind in the Tailwind colors tool

#904DDD 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)#0070E10.156
Deuteranopia (no green cones)#0570DA0.157
Tritanopia (no blue cones)#806D8E0.157
Achromatopsia (no color)#7171710.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #904DDD

    #904DDD

    oklch(57.2% 0.21 301.4)

  • #6C8300

    #6C8300

    oklch(57.1% 0.137 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904DDD

    #904DDD

    oklch(57.2% 0.21 301.4)

  • #4F65F1

    #4F65F1

    oklch(57.2% 0.21 271.3)

  • #B937AF

    #B937AF

    oklch(57.2% 0.211 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #904DDD

    #904DDD

    oklch(57.2% 0.21 301.4)

  • #917500

    #917500

    oklch(57.3% 0.117 92.1)

  • #009046

    #009046

    oklch(57.2% 0.153 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904DDD

    #904DDD

    oklch(57.2% 0.21 301.4)

  • #AE6200

    #AE6200

    oklch(57.1% 0.132 61.2)

  • #008B7C

    #008B7C

    oklch(57.1% 0.102 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904DDD

    #904DDD

    oklch(57.2% 0.21 301.4)

  • #D82C12

    #D82C12

    oklch(57.2% 0.21 31.4)

  • #6C8300

    #6C8300

    oklch(57.1% 0.137 121.2)

  • #008799

    #008799

    oklch(57.2% 0.099 211.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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