#904EDF

Closest named color: Purpley (#8756E4). oklch(57.5% 0.211 300.8), rgb(144, 78, 223).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.211)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.34:1
White text4.83:1

Values

HEX#904EDF
RGBrgb(144, 78, 223)
HSLhsl(267, 69%, 59%)
OKLCHoklch(57.5% 0.211 300.8)

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 #904EDF 4.83:1 AA Lc -78.4 Fine for body text
Black text on #904EDF 4.34:1 AA large text Lc 31.1 Non-text elements, placeholder text
#904EDF text on white 4.83:1 AA Lc 72.9 Content text, not long reading
#904EDF text on black 4.34:1 AA large text Lc -28.7 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

    #9F66EA

    oklch(63.2% 0.193 300.9)

  7. Step 600

    600 (this color)

    #904EDF

    oklch(57.5% 0.211 300.8)

  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

    #2D1B47

    oklch(27% 0.08 300)

Export this scale for Tailwind in the Tailwind colors tool

#904EDF 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)#0071E30.155
Deuteranopia (no green cones)#0071DC0.157
Tritanopia (no blue cones)#7F6F900.158
Achromatopsia (no color)#7272720.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #904EDF

    #904EDF

    oklch(57.5% 0.211 300.8)

  • #6E8400

    #6E8400

    oklch(57.5% 0.137 120.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904EDF

    #904EDF

    oklch(57.5% 0.211 300.8)

  • #4E66F3

    #4E66F3

    oklch(57.4% 0.212 270.8)

  • #BA38B1

    #BA38B1

    oklch(57.6% 0.212 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #904EDF

    #904EDF

    oklch(57.5% 0.211 300.8)

  • #937500

    #937500

    oklch(57.5% 0.118 90.8)

  • #009145

    #009145

    oklch(57.4% 0.155 150.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904EDF

    #904EDF

    oklch(57.5% 0.211 300.8)

  • #B06300

    #B06300

    oklch(57.6% 0.134 61.1)

  • #008C7C

    #008C7C

    oklch(57.4% 0.103 181.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904EDF

    #904EDF

    oklch(57.5% 0.211 300.8)

  • #D92C16

    #D92C16

    oklch(57.4% 0.21 30.9)

  • #6E8400

    #6E8400

    oklch(57.5% 0.137 120.7)

  • #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 #904EDF, closest first.

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

Similar named colors

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

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