#8A4ED9

Closest named color: Purpley (#8756E4). oklch(56.4% 0.204 299.7), rgb(138, 78, 217).

Aa

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

About this color

#8A4ED9 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.204 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.023 away. White text reads best on it, at 5.03:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.204)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.17:1
White text5.03:1

Values

HEX#8A4ED9
RGBrgb(138, 78, 217)
HSLhsl(266, 65%, 58%)
OKLCHoklch(56.4% 0.204 299.7)

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 #8A4ED9 5.03:1 AA Lc -79.6 Fine for body text
Black text on #8A4ED9 4.17:1 AA large text Lc 29.9 Dividers and decoration only
#8A4ED9 text on white 5.03:1 AA Lc 74.2 Content text, not long reading
#8A4ED9 text on black 4.17:1 AA large text Lc -27.5 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DED2F7

    oklch(88.5% 0.052 300.1)

  4. Step 300

    300

    #C9B4F4

    oklch(81% 0.091 299.4)

  5. Step 400

    400

    #AF8AEE

    oklch(70.8% 0.146 299.7)

  6. Step 500

    500

    #9C68E8

    oklch(63.1% 0.188 299.8)

  7. Step 600

    600 (this color)

    #8A4ED9

    oklch(56.4% 0.204 299.7)

  8. Step 700

    700

    #733BBA

    oklch(49.1% 0.19 299.5)

  9. Step 800

    800

    #5E3296

    oklch(42.7% 0.157 300)

  10. Step 900

    900

    #4C2E78

    oklch(37.8% 0.122 299.2)

  11. Step 950

    950

    #2D1C46

    oklch(27.1% 0.076 300)

Export this scale for Tailwind in the Tailwind colors tool

#8A4ED9 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)#006FDD0.147
Deuteranopia (no green cones)#026ED60.148
Tritanopia (no blue cones)#786D8D0.153
Achromatopsia (no color)#6F6F6F0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A4ED9

    #8A4ED9

    oklch(56.4% 0.204 299.7)

  • #6D8000

    #6D8000

    oklch(56.4% 0.133 119.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A4ED9

    #8A4ED9

    oklch(56.4% 0.204 299.7)

  • #4965EB

    #4965EB

    oklch(56.4% 0.204 269.7)

  • #B339AD

    #B339AD

    oklch(56.4% 0.204 330)

Open the analogous palette in the generator

Split complementary

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

  • #8A4ED9

    #8A4ED9

    oklch(56.4% 0.204 299.7)

  • #907100

    #907100

    oklch(56.3% 0.115 89.5)

  • #008E3E

    #008E3E

    oklch(56.5% 0.157 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A4ED9

    #8A4ED9

    oklch(56.4% 0.204 299.7)

  • #AD5F00

    #AD5F00

    oklch(56.5% 0.133 59.6)

  • #008978

    #008978

    oklch(56.5% 0.102 180)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A4ED9

    #8A4ED9

    oklch(56.4% 0.204 299.7)

  • #D32D1F

    #D32D1F

    oklch(56.5% 0.203 29.7)

  • #6D8000

    #6D8000

    oklch(56.4% 0.133 119.5)

  • #008595

    #008595

    oklch(56.5% 0.098 209.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8A4ED9.

Similar named colors

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

Use #8A4ED9 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.