#8A6BD6

Closest named color: Medium Purple (#9370DB). oklch(60.7% 0.158 294.6), rgb(138, 107, 214).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.158)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.15:1
White text4.07:1

Values

HEX#8A6BD6
RGBrgb(138, 107, 214)
HSLhsl(257, 57%, 63%)
OKLCHoklch(60.7% 0.158 294.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 #8A6BD6 4.07:1 AA large text Lc -73.2 Content text, not long reading
Black text on #8A6BD6 5.15:1 AA Lc 36.4 Non-text elements, placeholder text
#8A6BD6 text on white 4.07:1 AA large text Lc 67.7 Content text, not long reading
#8A6BD6 text on black 5.15:1 AA Lc -33.9 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  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

    #C3B7EE

    oklch(80.8% 0.078 294.6)

  5. Step 400

    400

    #A690E6

    oklch(70.7% 0.125 294.8)

  6. Step 500

    500 (this color)

    #8A6BD6

    oklch(60.7% 0.158 294.6)

  7. Step 600

    600

    #7C58CC

    oklch(55.6% 0.173 294.4)

  8. Step 700

    700

    #6947B0

    oklch(49% 0.16 294.7)

  9. Step 800

    800

    #553B8F

    oklch(42.6% 0.133 294.3)

  10. Step 900

    900

    #463472

    oklch(37.7% 0.103 294.3)

  11. Step 950

    950

    #291F43

    oklch(27.1% 0.065 294.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A6BD6 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)#437FDA0.096
Deuteranopia (no green cones)#497CD30.091
Tritanopia (no blue cones)#7880960.128
Achromatopsia (no color)#7E7E7E0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6BD6

    #8A6BD6

    oklch(60.7% 0.158 294.6)

  • #818B00

    #818B00

    oklch(60.8% 0.137 114.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6BD6

    #8A6BD6

    oklch(60.7% 0.158 294.6)

  • #527DE0

    #527DE0

    oklch(60.8% 0.158 264.5)

  • #B05CB6

    #B05CB6

    oklch(60.7% 0.159 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A6BD6

    #8A6BD6

    oklch(60.7% 0.158 294.6)

  • #A57B00

    #A57B00

    oklch(60.8% 0.125 84.5)

  • #379A3F

    #379A3F

    oklch(60.8% 0.158 144.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6BD6

    #8A6BD6

    oklch(60.7% 0.158 294.6)

  • #C56400

    #C56400

    oklch(60.7% 0.151 54.4)

  • #00987E

    #00987E

    oklch(60.7% 0.115 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6BD6

    #8A6BD6

    oklch(60.7% 0.158 294.6)

  • #D05451

    #D05451

    oklch(60.7% 0.158 24.4)

  • #818B00

    #818B00

    oklch(60.8% 0.137 114.7)

  • #00949F

    #00949F

    oklch(60.8% 0.104 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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