#8A6DB0

Closest named color: Deep Lilac (#966EBD). oklch(59% 0.104 303.3), rgb(138, 109, 176).

Aa

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

About this color

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

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

Values

HEX#8A6DB0
RGBrgb(138, 109, 176)
HSLhsl(266, 30%, 56%)
OKLCHoklch(59% 0.104 303.3)

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 #8A6DB0 4.29:1 AA large text Lc -75.1 Fine for body text
Black text on #8A6DB0 4.89:1 AA Lc 34.5 Non-text elements, placeholder text
#8A6DB0 text on white 4.29:1 AA large text Lc 69.6 Content text, not long reading
#8A6DB0 text on black 4.89:1 AA Lc -32.1 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 600.

  1. Step 50

    50

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DCD5E8

    oklch(88.4% 0.027 302.5)

  4. Step 300

    300

    #C7BADA

    oklch(81% 0.047 303.8)

  5. Step 400

    400

    #AA95C8

    oklch(70.6% 0.077 303.3)

  6. Step 500

    500

    #957BB9

    oklch(63.1% 0.095 303)

  7. Step 600

    600 (this color)

    #8A6DB0

    oklch(59% 0.104 303.3)

  8. Step 700

    700

    #6C528E

    oklch(49.1% 0.097 303)

  9. Step 800

    800

    #584373

    oklch(42.6% 0.081 303.3)

  10. Step 900

    900

    #48395D

    oklch(37.7% 0.063 302.7)

  11. Step 950

    950

    #2A2236

    oklch(27% 0.038 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A6DB0 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)#5E79B30.067
Deuteranopia (no green cones)#637AAE0.064
Tritanopia (no blue cones)#8478860.081
Achromatopsia (no color)#7A7A7A0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6DB0

    #8A6DB0

    oklch(59% 0.104 303.3)

  • #71873C

    #71873C

    oklch(58.9% 0.105 123.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6DB0

    #8A6DB0

    oklch(59% 0.104 303.3)

  • #6978BB

    #6978BB

    oklch(58.9% 0.104 273.2)

  • #A26597

    #A26597

    oklch(59% 0.103 333.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A6DB0

    #8A6DB0

    oklch(59% 0.104 303.3)

  • #927B27

    #927B27

    oklch(58.9% 0.104 93.3)

  • #468F5F

    #468F5F

    oklch(59% 0.104 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6DB0

    #8A6DB0

    oklch(59% 0.104 303.3)

  • #A86E34

    #A86E34

    oklch(58.9% 0.104 63.2)

  • #039183

    #039183

    oklch(59% 0.105 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6DB0

    #8A6DB0

    oklch(59% 0.104 303.3)

  • #B26554

    #B26554

    oklch(59% 0.103 33.4)

  • #71873C

    #71873C

    oklch(58.9% 0.105 123.2)

  • #008DA2

    #008DA2

    oklch(59.1% 0.103 212.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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