#904DA2

Closest named color: Purply (#983FB2). oklch(53.5% 0.145 318.8), rgb(144, 77, 162).

Aa

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

About this color

#904DA2 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.145 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.042 away. White text reads best on it, at 5.57:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.145)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.76:1
White text5.57:1

Values

HEX#904DA2
RGBrgb(144, 77, 162)
HSLhsl(287, 36%, 47%)
OKLCHoklch(53.5% 0.145 318.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 #904DA2 5.57:1 AA Lc -82.8 Fine for body text
Black text on #904DA2 3.76:1 AA large text Lc 26.6 Dividers and decoration only
#904DA2 text on white 5.57:1 AA Lc 77.5 Fine for body text
#904DA2 text on black 3.76:1 AA large text Lc -24.3 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E4D2E9

    oklch(88.5% 0.037 318.9)

  4. Step 300

    300

    #D3B4DC

    oklch(80.9% 0.065 318.6)

  5. Step 400

    400

    #BD8BCA

    oklch(70.7% 0.105 319.2)

  6. Step 500

    500

    #AC6DBD

    oklch(63.2% 0.134 318.9)

  7. Step 600

    600 (this color)

    #904DA2

    oklch(53.5% 0.145 318.8)

  8. Step 700

    700

    #804391

    oklch(49% 0.136 318.5)

  9. Step 800

    800

    #683875

    oklch(42.7% 0.111 318.8)

  10. Step 900

    900

    #55315F

    oklch(37.8% 0.087 318.7)

  11. Step 950

    950

    #321D38

    oklch(27.1% 0.056 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#904DA2 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)#3D64A50.133
Deuteranopia (no green cones)#526AA00.117
Tritanopia (no blue cones)#9059700.092
Achromatopsia (no color)#6868680.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #904DA2

    #904DA2

    oklch(53.5% 0.145 318.8)

  • #3B8022

    #3B8022

    oklch(53.5% 0.145 138.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904DA2

    #904DA2

    oklch(53.5% 0.145 318.8)

  • #6C5BBB

    #6C5BBB

    oklch(53.5% 0.145 288.6)

  • #A7437B

    #A7437B

    oklch(53.4% 0.146 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #904DA2

    #904DA2

    oklch(53.5% 0.145 318.8)

  • #737200

    #737200

    oklch(53.5% 0.116 109.2)

  • #008162

    #008162

    oklch(53.6% 0.108 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904DA2

    #904DA2

    oklch(53.5% 0.145 318.8)

  • #8F6400

    #8F6400

    oklch(53.4% 0.111 79.2)

  • #007D81

    #007D81

    oklch(53.5% 0.091 198.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904DA2

    #904DA2

    oklch(53.5% 0.145 318.8)

  • #AD4D00

    #AD4D00

    oklch(53.5% 0.144 48.6)

  • #3B8022

    #3B8022

    oklch(53.5% 0.145 138.7)

  • #00789D

    #00789D

    oklch(53.5% 0.105 228.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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