#904DB8

Closest named color: Purply (#983FB2). oklch(54.8% 0.169 310.9), rgb(144, 77, 184).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.169)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.93:1
White text5.33:1

Values

HEX#904DB8
RGBrgb(144, 77, 184)
HSLhsl(278, 43%, 51%)
OKLCHoklch(54.8% 0.169 310.9)

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 #904DB8 5.33:1 AA Lc -81.4 Fine for body text
Black text on #904DB8 3.93:1 AA large text Lc 28.0 Dividers and decoration only
#904DB8 text on white 5.33:1 AA Lc 76.1 Fine for body text
#904DB8 text on black 3.93:1 AA large text Lc -25.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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E2D2EE

    oklch(88.5% 0.042 310.9)

  4. Step 300

    300

    #D0B3E5

    oklch(80.8% 0.076 310.8)

  5. Step 400

    400

    #B98AD8

    oklch(70.7% 0.121 311.2)

  6. Step 500

    500

    #A76ACE

    oklch(63% 0.157 310.8)

  7. Step 600

    600 (this color)

    #904DB8

    oklch(54.8% 0.169 310.9)

  8. Step 700

    700

    #7D40A1

    oklch(49.2% 0.157 310.9)

  9. Step 800

    800

    #653582

    oklch(42.6% 0.13 310.8)

  10. Step 900

    900

    #532F69

    oklch(37.7% 0.103 311.1)

  11. Step 950

    950

    #301C3D

    oklch(26.9% 0.064 310.7)

Export this scale for Tailwind in the Tailwind colors tool

#904DB8 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)#2968BB0.147
Deuteranopia (no green cones)#446CB50.130
Tritanopia (no blue cones)#8B607B0.117
Achromatopsia (no color)#6B6B6B0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #904DB8

    #904DB8

    oklch(54.8% 0.169 310.9)

  • #518100

    #518100

    oklch(54.7% 0.149 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904DB8

    #904DB8

    oklch(54.8% 0.169 310.9)

  • #635FD0

    #635FD0

    oklch(54.9% 0.169 280.8)

  • #AE3F8E

    #AE3F8E

    oklch(54.8% 0.169 340.8)

Open the analogous palette in the generator

Split complementary

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

  • #904DB8

    #904DB8

    oklch(54.8% 0.169 310.9)

  • #807200

    #807200

    oklch(54.8% 0.114 100.8)

  • #008659

    #008659

    oklch(54.8% 0.122 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904DB8

    #904DB8

    oklch(54.8% 0.169 310.9)

  • #9B6300

    #9B6300

    oklch(54.8% 0.118 71.1)

  • #00827E

    #00827E

    oklch(54.8% 0.094 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904DB8

    #904DB8

    oklch(54.8% 0.169 310.9)

  • #BD4300

    #BD4300

    oklch(54.7% 0.168 41)

  • #518100

    #518100

    oklch(54.7% 0.149 130.8)

  • #007E9A

    #007E9A

    oklch(54.9% 0.1 220.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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