#9040AD

Closest named color: Purply (#983FB2). oklch(52.3% 0.177 316), rgb(144, 64, 173).

Aa

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

About this color

#9040AD is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.177 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.017 away. White text reads best on it, at 5.96:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.177)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.52:1
White text5.96:1

Values

HEX#9040AD
RGBrgb(144, 64, 173)
HSLhsl(284, 46%, 46%)
OKLCHoklch(52.3% 0.177 316)

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 #9040AD 5.96:1 AA Lc -84.4 Fine for body text
Black text on #9040AD 3.52:1 AA large text Lc 24.9 Dividers and decoration only
#9040AD text on white 5.96:1 AA Lc 79.2 Fine for body text
#9040AD text on black 3.52:1 AA large text Lc -22.6 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 700.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D7B0E6

    oklch(80.9% 0.086 316.5)

  5. Step 400

    400

    #C284DA

    oklch(70.7% 0.138 316.2)

  6. Step 500

    500

    #B262D0

    oklch(63.1% 0.176 316)

  7. Step 600

    600

    #9D45BD

    oklch(55.6% 0.191 315.9)

  8. Step 700

    700 (this color)

    #9040AD

    oklch(52.3% 0.177 316)

  9. Step 800

    800

    #6D2E84

    oklch(42.8% 0.147 315.9)

  10. Step 900

    900

    #582A6A

    oklch(37.7% 0.115 315.5)

  11. Step 950

    950

    #34193E

    oklch(27% 0.074 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#9040AD 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)#1B5FB00.168
Deuteranopia (no green cones)#4066AA0.146
Tritanopia (no blue cones)#8E53710.114
Achromatopsia (no color)#6464640.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #9040AD

    #9040AD

    oklch(52.3% 0.177 316)

  • #3B7C00

    #3B7C00

    oklch(52.2% 0.155 135.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9040AD

    #9040AD

    oklch(52.3% 0.177 316)

  • #6552C9

    #6552C9

    oklch(52.3% 0.177 285.8)

  • #AC317F

    #AC317F

    oklch(52.3% 0.177 346)

Open the analogous palette in the generator

Split complementary

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

  • #9040AD

    #9040AD

    oklch(52.3% 0.177 316)

  • #736D00

    #736D00

    oklch(52.3% 0.112 105.9)

  • #007D5B

    #007D5B

    oklch(52.3% 0.109 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9040AD

    #9040AD

    oklch(52.3% 0.177 316)

  • #8E5F00

    #8E5F00

    oklch(52.3% 0.11 75.3)

  • #00797B

    #00797B

    oklch(52.2% 0.089 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9040AD

    #9040AD

    oklch(52.3% 0.177 316)

  • #AB4700

    #AB4700

    oklch(52.3% 0.147 46)

  • #3B7C00

    #3B7C00

    oklch(52.2% 0.155 135.9)

  • #007596

    #007596

    oklch(52.4% 0.1 226.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9040AD.

Similar named colors

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

Use #9040AD 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.