#8C5AE4

Closest named color: Purpley (#8756E4). oklch(59.1% 0.2 296.4), rgb(140, 90, 228).

Aa

Black text reads best on this color (4.69:1).

About this color

#8C5AE4 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.200 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.013 away. Black text reads best on it, at 4.69:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.200)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.69:1
White text4.47:1

Values

HEX#8C5AE4
RGBrgb(140, 90, 228)
HSLhsl(262, 72%, 62%)
OKLCHoklch(59.1% 0.2 296.4)

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 #8C5AE4 4.47:1 AA large text Lc -76.1 Fine for body text
Black text on #8C5AE4 4.69:1 AA Lc 33.5 Non-text elements, placeholder text
#8C5AE4 text on white 4.47:1 AA large text Lc 70.6 Content text, not long reading
#8C5AE4 text on black 4.69:1 AA Lc -31.1 Non-text elements, placeholder text

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

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C6B5F5

    oklch(81% 0.091 296.5)

  5. Step 400

    400

    #AA8CEF

    oklch(70.8% 0.143 296.5)

  6. Step 500

    500

    #966BEA

    oklch(63.1% 0.185 296.3)

  7. Step 600

    600 (this color)

    #8C5AE4

    oklch(59.1% 0.2 296.4)

  8. Step 700

    700

    #6E3EBB

    oklch(49% 0.186 296.5)

  9. Step 800

    800

    #593598

    oklch(42.8% 0.154 295.9)

  10. Step 900

    900

    #492F79

    oklch(37.7% 0.121 296.3)

  11. Step 950

    950

    #2B1C47

    oklch(27% 0.078 297)

Export this scale for Tailwind in the Tailwind colors tool

#8C5AE4 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)#0078E80.139
Deuteranopia (no green cones)#1575E10.135
Tritanopia (no blue cones)#7678970.155
Achromatopsia (no color)#7777770.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C5AE4

    #8C5AE4

    oklch(59.1% 0.2 296.4)

  • #798700

    #798700

    oklch(59.1% 0.136 116.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C5AE4

    #8C5AE4

    oklch(59.1% 0.2 296.4)

  • #4671F3

    #4671F3

    oklch(59.1% 0.201 266.4)

  • #B746BB

    #B746BB

    oklch(59.1% 0.2 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #8C5AE4

    #8C5AE4

    oklch(59.1% 0.2 296.4)

  • #9D7700

    #9D7700

    oklch(59% 0.121 86.2)

  • #009832

    #009832

    oklch(59.2% 0.179 146.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C5AE4

    #8C5AE4

    oklch(59.1% 0.2 296.4)

  • #BC6200

    #BC6200

    oklch(59.1% 0.144 56.1)

  • #00927C

    #00927C

    oklch(59% 0.109 177)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C5AE4

    #8C5AE4

    oklch(59.1% 0.2 296.4)

  • #DB3836

    #DB3836

    oklch(59% 0.2 26.4)

  • #798700

    #798700

    oklch(59.1% 0.136 116.8)

  • #008E9B

    #008E9B

    oklch(59.1% 0.101 206.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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