#904FA3

Closest named color: Deep Lavender (#8D5EB7). oklch(53.8% 0.143 318.2), rgb(144, 79, 163).

Aa

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

About this color

#904FA3 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.143 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.042 away. White text reads best on it, at 5.47:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.143)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.83:1
White text5.47:1

Values

HEX#904FA3
RGBrgb(144, 79, 163)
HSLhsl(286, 35%, 47%)
OKLCHoklch(53.8% 0.143 318.2)

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 #904FA3 5.47:1 AA Lc -82.3 Fine for body text
Black text on #904FA3 3.83:1 AA large text Lc 27.1 Dividers and decoration only
#904FA3 text on white 5.47:1 AA Lc 77.0 Fine for body text
#904FA3 text on black 3.83:1 AA large text Lc -24.8 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

    #E3D2E9

    oklch(88.4% 0.036 317.3)

  4. Step 300

    300

    #D3B4DC

    oklch(80.9% 0.065 318.6)

  5. Step 400

    400

    #BC8CCA

    oklch(70.7% 0.103 318.5)

  6. Step 500

    500

    #AA6EBC

    oklch(63.1% 0.131 318.1)

  7. Step 600

    600 (this color)

    #904FA3

    oklch(53.8% 0.143 318.2)

  8. Step 700

    700

    #7F4491

    oklch(49.1% 0.134 317.8)

  9. Step 800

    800

    #683975

    oklch(42.8% 0.109 318.6)

  10. Step 900

    900

    #54315F

    oklch(37.6% 0.087 317.7)

  11. Step 950

    950

    #311D37

    oklch(26.9% 0.054 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#904FA3 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)#3F65A60.129
Deuteranopia (no green cones)#536BA10.114
Tritanopia (no blue cones)#905B710.093
Achromatopsia (no color)#6969690.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #904FA3

    #904FA3

    oklch(53.8% 0.143 318.2)

  • #3E8124

    #3E8124

    oklch(53.9% 0.144 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904FA3

    #904FA3

    oklch(53.8% 0.143 318.2)

  • #6C5DBB

    #6C5DBB

    oklch(53.8% 0.142 288)

  • #A7457C

    #A7457C

    oklch(53.7% 0.143 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #904FA3

    #904FA3

    oklch(53.8% 0.143 318.2)

  • #757200

    #757200

    oklch(53.7% 0.116 107.9)

  • #008262

    #008262

    oklch(53.9% 0.109 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904FA3

    #904FA3

    oklch(53.8% 0.143 318.2)

  • #916500

    #916500

    oklch(53.9% 0.112 78.8)

  • #007E82

    #007E82

    oklch(53.9% 0.092 198.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904FA3

    #904FA3

    oklch(53.8% 0.143 318.2)

  • #AE4E07

    #AE4E07

    oklch(53.8% 0.144 48)

  • #3E8124

    #3E8124

    oklch(53.9% 0.144 138.4)

  • #00799E

    #00799E

    oklch(53.8% 0.105 228.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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