#8A5EF4

Closest named color: Purpley (#8756E4). oklch(60.6% 0.214 292.3), rgb(138, 94, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.214)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.98:1
White text4.21:1

Values

HEX#8A5EF4
RGBrgb(138, 94, 244)
HSLhsl(258, 87%, 66%)
OKLCHoklch(60.6% 0.214 292.3)

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 #8A5EF4 4.21:1 AA large text Lc -74.1 Content text, not long reading
Black text on #8A5EF4 4.98:1 AA Lc 35.5 Non-text elements, placeholder text
#8A5EF4 text on white 4.21:1 AA large text Lc 68.6 Content text, not long reading
#8A5EF4 text on black 4.98:1 AA Lc -33.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 500.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FD

    oklch(93.7% 0.03 292.1)

  3. Step 200

    200

    #D9D3FD

    oklch(88.5% 0.058 291.7)

  4. Step 300

    300

    #C2B4FF

    oklch(80.9% 0.105 292.4)

  5. Step 400

    400

    #A589FF

    oklch(70.7% 0.169 292.5)

  6. Step 500

    500 (this color)

    #8A5EF4

    oklch(60.6% 0.214 292.3)

  7. Step 600

    600

    #7D47EC

    oklch(55.6% 0.232 292.1)

  8. Step 700

    700

    #6A36CD

    oklch(49.1% 0.216 292.2)

  9. Step 800

    800

    #562FA6

    oklch(42.7% 0.179 292.1)

  10. Step 900

    900

    #462C83

    oklch(37.6% 0.139 292.2)

  11. Step 950

    950

    #291B4D

    oklch(27% 0.088 292.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A5EF4 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)#007EF90.132
Deuteranopia (no green cones)#0078F10.131
Tritanopia (no blue cones)#6C81A00.173
Achromatopsia (no color)#7B7B7B0.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5EF4

    #8A5EF4

    oklch(60.6% 0.214 292.3)

  • #848900

    #848900

    oklch(60.5% 0.134 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5EF4

    #8A5EF4

    oklch(60.6% 0.214 292.3)

  • #3577FF

    #3577FF

    oklch(60.5% 0.214 262.5)

  • #BA48CB

    #BA48CB

    oklch(60.6% 0.213 322.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A5EF4

    #8A5EF4

    oklch(60.6% 0.214 292.3)

  • #A77900

    #A77900

    oklch(60.6% 0.125 81.9)

  • #069E00

    #069E00

    oklch(60.6% 0.206 142.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5EF4

    #8A5EF4

    oklch(60.6% 0.214 292.3)

  • #C76100

    #C76100

    oklch(60.5% 0.155 52.2)

  • #00987A

    #00987A

    oklch(60.6% 0.117 172.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5EF4

    #8A5EF4

    oklch(60.6% 0.214 292.3)

  • #E63242

    #E63242

    oklch(60.6% 0.214 22.3)

  • #848900

    #848900

    oklch(60.5% 0.134 112.3)

  • #00949D

    #00949D

    oklch(60.7% 0.103 202.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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