#8A6BDF

Closest named color: Medium Purple (#9370DB). oklch(61.3% 0.17 293), rgb(138, 107, 223).

Aa

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

About this color

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

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

Values

HEX#8A6BDF
RGBrgb(138, 107, 223)
HSLhsl(256, 64%, 65%)
OKLCHoklch(61.3% 0.17 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 #8A6BDF 4.00:1 AA large text Lc -72.6 Content text, not long reading
Black text on #8A6BDF 5.24:1 AA Lc 37.0 Non-text elements, placeholder text
#8A6BDF text on white 4.00:1 AA large text Lc 67.1 Content text, not long reading
#8A6BDF 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE7F9

    oklch(93.6% 0.024 293.6)

  3. Step 200

    200

    #DAD4F6

    oklch(88.5% 0.047 293.5)

  4. Step 300

    300

    #C2B7F2

    oklch(80.9% 0.083 293)

  5. Step 400

    400

    #A48FEC

    oklch(70.6% 0.134 293)

  6. Step 500

    500 (this color)

    #8A6BDF

    oklch(61.3% 0.17 293)

  7. Step 600

    600

    #7B56D3

    oklch(55.6% 0.184 293.1)

  8. Step 700

    700

    #6845B7

    oklch(49.1% 0.172 293.2)

  9. Step 800

    800

    #543A94

    oklch(42.7% 0.141 292.7)

  10. Step 900

    900

    #453376

    oklch(37.7% 0.11 292.7)

  11. Step 950

    950

    #281E45

    oklch(26.9% 0.071 292.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A6BDF 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)#3A81E30.103
Deuteranopia (no green cones)#407DDC0.098
Tritanopia (no blue cones)#74839B0.138
Achromatopsia (no color)#7F7F7F0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6BDF

    #8A6BDF

    oklch(61.3% 0.17 293)

  • #858C00

    #858C00

    oklch(61.3% 0.137 113.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6BDF

    #8A6BDF

    oklch(61.3% 0.17 293)

  • #4B7EE9

    #4B7EE9

    oklch(61.2% 0.171 263.1)

  • #B35BBE

    #B35BBE

    oklch(61.3% 0.17 323.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A6BDF

    #8A6BDF

    oklch(61.3% 0.17 293)

  • #A87B00

    #A87B00

    oklch(61.1% 0.126 82.8)

  • #369C35

    #369C35

    oklch(61.2% 0.169 143)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6BDF

    #8A6BDF

    oklch(61.3% 0.17 293)

  • #C96400

    #C96400

    oklch(61.3% 0.155 53.3)

  • #009A7D

    #009A7D

    oklch(61.2% 0.117 173.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6BDF

    #8A6BDF

    oklch(61.3% 0.17 293)

  • #D75051

    #D75051

    oklch(61.3% 0.17 23.2)

  • #858C00

    #858C00

    oklch(61.3% 0.137 113.3)

  • #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 #8A6BDF, closest first.

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

Similar named colors

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

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