#904DDA

Closest named color: Purpley (#8756E4). oklch(57% 0.207 302), rgb(144, 77, 218).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.207)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.25:1
White text4.92:1

Values

HEX#904DDA
RGBrgb(144, 77, 218)
HSLhsl(269, 66%, 58%)
OKLCHoklch(57% 0.207 302)

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 #904DDA 4.92:1 AA Lc -79.0 Fine for body text
Black text on #904DDA 4.25:1 AA large text Lc 30.5 Non-text elements, placeholder text
#904DDA text on white 4.92:1 AA Lc 73.5 Content text, not long reading
#904DDA text on black 4.25:1 AA large text Lc -28.2 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

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F6

    oklch(88.5% 0.051 301.8)

  4. Step 300

    300

    #CCB3F3

    oklch(81% 0.092 302.3)

  5. Step 400

    400

    #B288ED

    oklch(70.7% 0.149 301.9)

  6. Step 500

    500

    #A066E7

    oklch(63.1% 0.19 302)

  7. Step 600

    600 (this color)

    #904DDA

    oklch(57% 0.207 302)

  8. Step 700

    700

    #7738B9

    oklch(49.1% 0.193 302)

  9. Step 800

    800

    #613096

    oklch(42.8% 0.16 302.1)

  10. Step 900

    900

    #4F2C77

    oklch(37.7% 0.124 302.3)

  11. Step 950

    950

    #2E1B46

    oklch(27.1% 0.079 301.8)

Export this scale for Tailwind in the Tailwind colors tool

#904DDA 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)#006FDE0.157
Deuteranopia (no green cones)#1370D70.154
Tritanopia (no blue cones)#816C8D0.153
Achromatopsia (no color)#7070700.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #904DDA

    #904DDA

    oklch(57% 0.207 302)

  • #6A8300

    #6A8300

    oklch(57% 0.138 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904DDA

    #904DDA

    oklch(57% 0.207 302)

  • #5165EF

    #5165EF

    oklch(57.1% 0.207 271.9)

  • #B838AC

    #B838AC

    oklch(57% 0.207 332)

Open the analogous palette in the generator

Split complementary

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

  • #904DDA

    #904DDA

    oklch(57% 0.207 302)

  • #907400

    #907400

    oklch(57% 0.116 91.9)

  • #008F48

    #008F48

    oklch(56.9% 0.15 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904DDA

    #904DDA

    oklch(57% 0.207 302)

  • #AD6200

    #AD6200

    oklch(57% 0.132 61.7)

  • #008B7C

    #008B7C

    oklch(57.1% 0.102 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904DDA

    #904DDA

    oklch(57% 0.207 302)

  • #D62E10

    #D62E10

    oklch(57% 0.207 32)

  • #6A8300

    #6A8300

    oklch(57% 0.138 122)

  • #008699

    #008699

    oklch(56.9% 0.099 212)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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