#8A5FD9

Closest named color: Purpley (#8756E4). oklch(58.9% 0.18 296.8), rgb(138, 95, 217).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.180)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.71:1
White text4.44:1

Values

HEX#8A5FD9
RGBrgb(138, 95, 217)
HSLhsl(261, 62%, 61%)
OKLCHoklch(58.9% 0.18 296.8)

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 #8A5FD9 4.44:1 AA large text Lc -76.0 Fine for body text
Black text on #8A5FD9 4.71:1 AA Lc 33.5 Non-text elements, placeholder text
#8A5FD9 text on white 4.44:1 AA large text Lc 70.5 Content text, not long reading
#8A5FD9 text on black 4.71: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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD4F4

    oklch(88.6% 0.044 296.9)

  4. Step 300

    300

    #C5B6EF

    oklch(80.8% 0.081 296.6)

  5. Step 400

    400

    #A98EE7

    oklch(70.6% 0.13 296.9)

  6. Step 500

    500

    #9570E0

    oklch(63.2% 0.165 296.6)

  7. Step 600

    600 (this color)

    #8A5FD9

    oklch(58.9% 0.18 296.8)

  8. Step 700

    700

    #6D44B2

    oklch(49.1% 0.167 297)

  9. Step 800

    800

    #583990

    oklch(42.7% 0.138 296.5)

  10. Step 900

    900

    #483273

    oklch(37.7% 0.108 296.5)

  11. Step 950

    950

    #2A1E43

    oklch(27% 0.067 296.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A5FD9 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)#2378DD0.124
Deuteranopia (no green cones)#3376D60.116
Tritanopia (no blue cones)#7878930.140
Achromatopsia (no color)#7777770.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5FD9

    #8A5FD9

    oklch(58.9% 0.18 296.8)

  • #788600

    #788600

    oklch(58.8% 0.135 116.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5FD9

    #8A5FD9

    oklch(58.9% 0.18 296.8)

  • #4C73E6

    #4C73E6

    oklch(58.8% 0.18 266.7)

  • #B24EB4

    #B24EB4

    oklch(59% 0.18 326.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A5FD9

    #8A5FD9

    oklch(58.9% 0.18 296.8)

  • #9C7700

    #9C7700

    oklch(58.9% 0.121 86.8)

  • #009734

    #009734

    oklch(58.9% 0.176 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5FD9

    #8A5FD9

    oklch(58.9% 0.18 296.8)

  • #BB6200

    #BB6200

    oklch(58.9% 0.144 56.4)

  • #00927B

    #00927B

    oklch(59% 0.11 176.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5FD9

    #8A5FD9

    oklch(58.9% 0.18 296.8)

  • #D3443E

    #D3443E

    oklch(58.9% 0.181 26.6)

  • #788600

    #788600

    oklch(58.8% 0.135 116.9)

  • #008D9B

    #008D9B

    oklch(58.8% 0.101 207.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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