#9040D1

Closest named color: Dark Orchid (#9932CC). oklch(54.8% 0.214 305.6), rgb(144, 64, 209).

Aa

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

About this color

#9040D1 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.214 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.027 away. White text reads best on it, at 5.46:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.214)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.83:1
White text5.46:1

Values

HEX#9040D1
RGBrgb(144, 64, 209)
HSLhsl(273, 61%, 54%)
OKLCHoklch(54.8% 0.214 305.6)

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 #9040D1 5.46:1 AA Lc -81.8 Fine for body text
Black text on #9040D1 3.83:1 AA large text Lc 27.6 Dividers and decoration only
#9040D1 text on white 5.46:1 AA Lc 76.5 Fine for body text
#9040D1 text on black 3.83:1 AA large text Lc -25.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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5F9

    oklch(93.5% 0.028 306)

  3. Step 200

    200

    #E1D1F6

    oklch(88.5% 0.053 304.9)

  4. Step 300

    300

    #D0B1F3

    oklch(81% 0.097 305.8)

  5. Step 400

    400

    #B885EC

    oklch(70.7% 0.154 305.7)

  6. Step 500

    500

    #A762E6

    oklch(63.2% 0.196 305.6)

  7. Step 600

    600 (this color)

    #9040D1

    oklch(54.8% 0.214 305.6)

  8. Step 700

    700

    #7D33B8

    oklch(49.2% 0.199 305.6)

  9. Step 800

    800

    #652C95

    oklch(42.7% 0.165 305.2)

  10. Step 900

    900

    #522976

    oklch(37.5% 0.128 305.6)

  11. Step 950

    950

    #301945

    oklch(26.9% 0.081 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#9040D1 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)#0067D50.168
Deuteranopia (no green cones)#046ACE0.170
Tritanopia (no blue cones)#8461840.152
Achromatopsia (no color)#6969690.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #9040D1

    #9040D1

    oklch(54.8% 0.214 305.6)

  • #5D7E00

    #5D7E00

    oklch(54.7% 0.139 125.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9040D1

    #9040D1

    oklch(54.8% 0.214 305.6)

  • #5559EA

    #5559EA

    oklch(54.9% 0.214 275.6)

  • #B628A0

    #B628A0

    oklch(54.8% 0.214 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #9040D1

    #9040D1

    oklch(54.8% 0.214 305.6)

  • #857000

    #857000

    oklch(54.9% 0.113 96)

  • #00874E

    #00874E

    oklch(54.8% 0.134 155.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9040D1

    #9040D1

    oklch(54.8% 0.214 305.6)

  • #A06000

    #A06000

    oklch(54.8% 0.122 66.1)

  • #008379

    #008379

    oklch(54.9% 0.096 185.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9040D1

    #9040D1

    oklch(54.8% 0.214 305.6)

  • #C73500

    #C73500

    oklch(54.9% 0.189 35.7)

  • #5D7E00

    #5D7E00

    oklch(54.7% 0.139 125.8)

  • #007E95

    #007E95

    oklch(54.7% 0.097 216.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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