#8A6ED7

Closest named color: Medium Purple (#9370DB). oklch(61.3% 0.155 293.6), rgb(138, 110, 215).

Aa

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

About this color

#8A6ED7 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.155 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.017 away. Black text reads best on it, at 5.29:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.155)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.29:1
White text3.96:1

Values

HEX#8A6ED7
RGBrgb(138, 110, 215)
HSLhsl(256, 57%, 64%)
OKLCHoklch(61.3% 0.155 293.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 #8A6ED7 3.96:1 AA large text Lc -72.3 Content text, not long reading
Black text on #8A6ED7 5.29:1 AA Lc 37.2 Non-text elements, placeholder text
#8A6ED7 text on white 3.96:1 AA large text Lc 66.8 Content text, not long reading
#8A6ED7 text on black 5.29:1 AA Lc -34.8 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #DAD4F3

    oklch(88.4% 0.043 294.4)

  4. Step 300

    300

    #C2B8EE

    oklch(80.9% 0.076 293.1)

  5. Step 400

    400

    #A491E5

    oklch(70.6% 0.122 293.4)

  6. Step 500

    500 (this color)

    #8A6ED7

    oklch(61.3% 0.155 293.6)

  7. Step 600

    600

    #7A5ACB

    oklch(55.6% 0.168 293.2)

  8. Step 700

    700

    #6749AF

    oklch(49.1% 0.156 293.4)

  9. Step 800

    800

    #543C8E

    oklch(42.6% 0.13 293.6)

  10. Step 900

    900

    #453471

    oklch(37.6% 0.101 293.8)

  11. Step 950

    950

    #281F42

    oklch(26.9% 0.064 293.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A6ED7 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)#4781DB0.091
Deuteranopia (no green cones)#4C7ED50.086
Tritanopia (no blue cones)#7783980.127
Achromatopsia (no color)#8080800.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6ED7

    #8A6ED7

    oklch(61.3% 0.155 293.6)

  • #848C00

    #848C00

    oklch(61.3% 0.137 113.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6ED7

    #8A6ED7

    oklch(61.3% 0.155 293.6)

  • #527FE0

    #527FE0

    oklch(61.2% 0.155 263.7)

  • #B05FB8

    #B05FB8

    oklch(61.2% 0.156 323.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A6ED7

    #8A6ED7

    oklch(61.3% 0.155 293.6)

  • #A87C00

    #A87C00

    oklch(61.3% 0.126 83.6)

  • #3F9B40

    #3F9B40

    oklch(61.3% 0.156 143.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6ED7

    #8A6ED7

    oklch(61.3% 0.155 293.6)

  • #C96400

    #C96400

    oklch(61.3% 0.155 53.3)

  • #009A7E

    #009A7E

    oklch(61.2% 0.117 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6ED7

    #8A6ED7

    oklch(61.3% 0.155 293.6)

  • #D15755

    #D15755

    oklch(61.3% 0.155 23.7)

  • #848C00

    #848C00

    oklch(61.3% 0.137 113.8)

  • #0096A0

    #0096A0

    oklch(61.3% 0.104 203.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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