#8A6DD7

Closest named color: Medium Purple (#9370DB). oklch(61.1% 0.157 293.9), rgb(138, 109, 215).

Aa

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

About this color

#8A6DD7 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.157 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.018 away. Black text reads best on it, at 5.24:1.

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

Values

HEX#8A6DD7
RGBrgb(138, 109, 215)
HSLhsl(256, 57%, 64%)
OKLCHoklch(61.1% 0.157 293.9)

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 #8A6DD7 4.00:1 AA large text Lc -72.6 Content text, not long reading
Black text on #8A6DD7 5.24:1 AA Lc 37.0 Non-text elements, placeholder text
#8A6DD7 text on white 4.00:1 AA large text Lc 67.1 Content text, not long reading
#8A6DD7 text on black 5.24:1 AA Lc -34.6 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

    #C3B8EE

    oklch(81% 0.076 294)

  5. Step 400

    400

    #A591E5

    oklch(70.7% 0.122 294)

  6. Step 500

    500 (this color)

    #8A6DD7

    oklch(61.1% 0.157 293.9)

  7. Step 600

    600

    #7B59CB

    oklch(55.6% 0.17 293.9)

  8. Step 700

    700

    #6848B0

    oklch(49.1% 0.159 293.9)

  9. Step 800

    800

    #553C8E

    oklch(42.7% 0.13 294.3)

  10. Step 900

    900

    #453472

    oklch(37.6% 0.103 293.5)

  11. Step 950

    950

    #281F43

    oklch(27% 0.065 293)

Export this scale for Tailwind in the Tailwind colors tool

#8A6DD7 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)#4680DB0.092
Deuteranopia (no green cones)#4B7DD50.087
Tritanopia (no blue cones)#7782980.127
Achromatopsia (no color)#7F7F7F0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6DD7

    #8A6DD7

    oklch(61.1% 0.157 293.9)

  • #838C00

    #838C00

    oklch(61.2% 0.138 114.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6DD7

    #8A6DD7

    oklch(61.1% 0.157 293.9)

  • #527FE0

    #527FE0

    oklch(61.2% 0.155 263.7)

  • #B05EB8

    #B05EB8

    oklch(61.1% 0.157 323.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A6DD7

    #8A6DD7

    oklch(61.1% 0.157 293.9)

  • #A77C00

    #A77C00

    oklch(61.2% 0.126 84.1)

  • #3C9A3F

    #3C9A3F

    oklch(61% 0.156 143.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6DD7

    #8A6DD7

    oklch(61.1% 0.157 293.9)

  • #C86400

    #C86400

    oklch(61.1% 0.154 53.5)

  • #009A7E

    #009A7E

    oklch(61.2% 0.117 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6DD7

    #8A6DD7

    oklch(61.1% 0.157 293.9)

  • #D15654

    #D15654

    oklch(61.2% 0.157 23.8)

  • #838C00

    #838C00

    oklch(61.2% 0.138 114.2)

  • #0095A0

    #0095A0

    oklch(61.1% 0.104 204)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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