#904DDF

Closest named color: Purpley (#8756E4). oklch(57.4% 0.212 301), rgb(144, 77, 223).

Aa

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

About this color

#904DDF is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.212 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.023 away. White text reads best on it, at 4.86:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.212)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.31:1
White text4.86:1

Values

HEX#904DDF
RGBrgb(144, 77, 223)
HSLhsl(268, 70%, 59%)
OKLCHoklch(57.4% 0.212 301)

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 #904DDF 4.86:1 AA Lc -78.6 Fine for body text
Black text on #904DDF 4.31:1 AA large text Lc 30.9 Non-text elements, placeholder text
#904DDF text on white 4.86:1 AA Lc 73.1 Content text, not long reading
#904DDF text on black 4.31:1 AA large text Lc -28.6 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

    #CBB3F5

    oklch(81% 0.095 301)

  5. Step 400

    400

    #B188F0

    oklch(70.7% 0.152 300.8)

  6. Step 500

    500

    #9F65EB

    oklch(63.1% 0.196 300.9)

  7. Step 600

    600 (this color)

    #904DDF

    oklch(57.4% 0.212 301)

  8. Step 700

    700

    #7637BC

    oklch(49.1% 0.197 301)

  9. Step 800

    800

    #602F98

    oklch(42.7% 0.163 301.1)

  10. Step 900

    900

    #4E2C79

    oklch(37.7% 0.127 300.8)

  11. Step 950

    950

    #2E1A47

    oklch(27% 0.082 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#904DDF 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)#0070E30.156
Deuteranopia (no green cones)#0070DC0.157
Tritanopia (no blue cones)#7F6E900.158
Achromatopsia (no color)#7171710.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #904DDF

    #904DDF

    oklch(57.4% 0.212 301)

  • #6D8400

    #6D8400

    oklch(57.4% 0.138 121.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904DDF

    #904DDF

    oklch(57.4% 0.212 301)

  • #4E66F3

    #4E66F3

    oklch(57.4% 0.212 270.8)

  • #BA37B0

    #BA37B0

    oklch(57.4% 0.212 331.2)

Open the analogous palette in the generator

Split complementary

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

  • #904DDF

    #904DDF

    oklch(57.4% 0.212 301)

  • #927500

    #927500

    oklch(57.4% 0.117 91.4)

  • #009145

    #009145

    oklch(57.4% 0.155 150.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904DDF

    #904DDF

    oklch(57.4% 0.212 301)

  • #AF6200

    #AF6200

    oklch(57.3% 0.133 60.8)

  • #008C7C

    #008C7C

    oklch(57.4% 0.103 181.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904DDF

    #904DDF

    oklch(57.4% 0.212 301)

  • #D92A13

    #D92A13

    oklch(57.3% 0.212 31)

  • #6D8400

    #6D8400

    oklch(57.4% 0.138 121.1)

  • #00889A

    #00889A

    oklch(57.5% 0.1 211)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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