#8A6DBA

Closest named color: Deep Lilac (#966EBD). oklch(59.5% 0.118 300.2), rgb(138, 109, 186).

Aa

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

About this color

#8A6DBA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.118 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.021 away. Black text reads best on it, at 4.97:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text4.97:1
White text4.21:1

Values

HEX#8A6DBA
RGBrgb(138, 109, 186)
HSLhsl(263, 36%, 58%)
OKLCHoklch(59.5% 0.118 300.2)

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 #8A6DBA 4.21:1 AA large text Lc -74.5 Content text, not long reading
Black text on #8A6DBA 4.97:1 AA Lc 35.1 Non-text elements, placeholder text
#8A6DBA text on white 4.21:1 AA large text Lc 69.0 Content text, not long reading
#8A6DBA text on black 4.97:1 AA Lc -32.7 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F4

    oklch(93.7% 0.016 297.5)

  3. Step 200

    200

    #DCD5EC

    oklch(88.6% 0.032 299.6)

  4. Step 300

    300

    #C6B9E1

    oklch(81% 0.057 300)

  5. Step 400

    400

    #A993D2

    oklch(70.6% 0.093 300.1)

  6. Step 500

    500 (this color)

    #8A6DBA

    oklch(59.5% 0.118 300.2)

  7. Step 600

    600

    #805FB2

    oklch(55.5% 0.128 300.6)

  8. Step 700

    700

    #6C4E99

    oklch(49% 0.119 300.5)

  9. Step 800

    800

    #58417C

    oklch(42.8% 0.097 300.3)

  10. Step 900

    900

    #483764

    oklch(37.6% 0.077 300.1)

  11. Step 950

    950

    #2A213B

    oklch(27.1% 0.048 299.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A6DBA 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)#597BBD0.074
Deuteranopia (no green cones)#5E7BB80.070
Tritanopia (no blue cones)#817A8A0.093
Achromatopsia (no color)#7B7B7B0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6DBA

    #8A6DBA

    oklch(59.5% 0.118 300.2)

  • #76892E

    #76892E

    oklch(59.6% 0.118 120.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6DBA

    #8A6DBA

    oklch(59.5% 0.118 300.2)

  • #647AC5

    #647AC5

    oklch(59.6% 0.118 270.2)

  • #A663A0

    #A663A0

    oklch(59.5% 0.119 330.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A6DBA

    #8A6DBA

    oklch(59.5% 0.118 300.2)

  • #9A7B0E

    #9A7B0E

    oklch(59.6% 0.118 90.4)

  • #439258

    #439258

    oklch(59.5% 0.118 150.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6DBA

    #8A6DBA

    oklch(59.5% 0.118 300.2)

  • #B16C2A

    #B16C2A

    oklch(59.5% 0.118 60.4)

  • #009381

    #009381

    oklch(59.4% 0.108 180.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6DBA

    #8A6DBA

    oklch(59.5% 0.118 300.2)

  • #BA6153

    #BA6153

    oklch(59.4% 0.118 30.2)

  • #76892E

    #76892E

    oklch(59.6% 0.118 120.2)

  • #008FA1

    #008FA1

    oklch(59.6% 0.103 210.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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