#8A6FD9

Closest named color: Medium Purple (#9370DB). oklch(61.6% 0.156 293), rgb(138, 111, 217).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.156)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.35:1
White text3.92:1

Values

HEX#8A6FD9
RGBrgb(138, 111, 217)
HSLhsl(255, 58%, 64%)
OKLCHoklch(61.6% 0.156 293)

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 #8A6FD9 3.92:1 AA large text Lc -71.9 Content text, not long reading
Black text on #8A6FD9 5.35:1 AA Lc 37.7 Non-text elements, placeholder text
#8A6FD9 text on white 3.92:1 AA large text Lc 66.4 Content text, not long reading
#8A6FD9 text on black 5.35:1 AA Lc -35.2 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

    #A491E6

    oklch(70.7% 0.123 293.3)

  6. Step 500

    500 (this color)

    #8A6FD9

    oklch(61.6% 0.156 293)

  7. Step 600

    600

    #7A5ACC

    oklch(55.7% 0.17 293)

  8. Step 700

    700

    #6749B0

    oklch(49.2% 0.157 293.2)

  9. Step 800

    800

    #543C8F

    oklch(42.7% 0.132 293.4)

  10. Step 900

    900

    #453572

    oklch(37.8% 0.101 293)

  11. Step 950

    950

    #281F43

    oklch(27% 0.065 293)

Export this scale for Tailwind in the Tailwind colors tool

#8A6FD9 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)#4782DD0.091
Deuteranopia (no green cones)#4C7FD70.086
Tritanopia (no blue cones)#77849A0.127
Achromatopsia (no color)#8181810.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6FD9

    #8A6FD9

    oklch(61.6% 0.156 293)

  • #868D00

    #868D00

    oklch(61.7% 0.138 113.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6FD9

    #8A6FD9

    oklch(61.6% 0.156 293)

  • #5181E2

    #5181E2

    oklch(61.7% 0.156 262.8)

  • #B060BA

    #B060BA

    oklch(61.5% 0.156 323)

Open the analogous palette in the generator

Split complementary

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

  • #8A6FD9

    #8A6FD9

    oklch(61.6% 0.156 293)

  • #A97C00

    #A97C00

    oklch(61.4% 0.126 83)

  • #419C3F

    #419C3F

    oklch(61.7% 0.157 143)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6FD9

    #8A6FD9

    oklch(61.6% 0.156 293)

  • #CB6400

    #CB6400

    oklch(61.5% 0.157 52.7)

  • #009B7E

    #009B7E

    oklch(61.5% 0.118 173.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6FD9

    #8A6FD9

    oklch(61.6% 0.156 293)

  • #D25757

    #D25757

    oklch(61.5% 0.156 22.8)

  • #868D00

    #868D00

    oklch(61.7% 0.138 113.2)

  • #0097A1

    #0097A1

    oklch(61.6% 0.105 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 #8A6FD9, closest first.

Similar named colors

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

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