#8A6796

Closest named color: Dark Lavender (#856798). oklch(56.6% 0.081 317.3), rgb(138, 103, 150).

Aa

White text reads best on this color (4.70:1).

About this color

#8A6796 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.081 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.009 away. White text reads best on it, at 4.70:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.46:1
White text4.70:1

Values

HEX#8A6796
RGBrgb(138, 103, 150)
HSLhsl(285, 19%, 50%)
OKLCHoklch(56.6% 0.081 317.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 #8A6796 4.70:1 AA Lc -78.1 Fine for body text
Black text on #8A6796 4.46:1 AA large text Lc 31.5 Non-text elements, placeholder text
#8A6796 text on white 4.70:1 AA Lc 72.6 Content text, not long reading
#8A6796 text on black 4.46:1 AA large text Lc -29.1 Dividers and decoration only

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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE8EF

    oklch(93.7% 0.011 316.5)

  3. Step 200

    200

    #DFD5E2

    oklch(88.5% 0.021 318.4)

  4. Step 300

    300

    #CBBAD1

    oklch(81% 0.037 317.3)

  5. Step 400

    400

    #B096B9

    oklch(70.8% 0.058 317.4)

  6. Step 500

    500

    #9C7BA8

    oklch(63% 0.076 316.9)

  7. Step 600

    600 (this color)

    #8A6796

    oklch(56.6% 0.081 317.3)

  8. Step 700

    700

    #72537D

    oklch(49.1% 0.075 317)

  9. Step 800

    800

    #5D4466

    oklch(42.7% 0.063 316.9)

  10. Step 900

    900

    #4C3953

    oklch(37.6% 0.05 316.8)

  11. Step 950

    950

    #2D2230

    oklch(27.1% 0.03 318.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A6796 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)#6171980.066
Deuteranopia (no green cones)#6975940.062
Tritanopia (no blue cones)#8A6C780.053
Achromatopsia (no color)#7474740.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6796

    #8A6796

    oklch(56.6% 0.081 317.3)

  • #5F8252

    #5F8252

    oklch(56.7% 0.081 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6796

    #8A6796

    oklch(56.6% 0.081 317.3)

  • #736FA4

    #736FA4

    oklch(56.7% 0.081 287)

  • #9A627F

    #9A627F

    oklch(56.6% 0.082 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A6796

    #8A6796

    oklch(56.6% 0.081 317.3)

  • #7B7A3E

    #7B7A3E

    oklch(56.7% 0.082 107.9)

  • #40866C

    #40866C

    oklch(56.7% 0.082 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6796

    #8A6796

    oklch(56.6% 0.081 317.3)

  • #91703C

    #91703C

    oklch(56.6% 0.081 77.3)

  • #2D8587

    #2D8587

    oklch(56.6% 0.082 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6796

    #8A6796

    oklch(56.6% 0.081 317.3)

  • #9E674C

    #9E674C

    oklch(56.6% 0.081 46.8)

  • #5F8252

    #5F8252

    oklch(56.7% 0.081 137.5)

  • #3B809C

    #3B809C

    oklch(56.7% 0.081 227.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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