#8170AE

Closest named color: Dark Lavender (#856798). oklch(58.6% 0.095 296), rgb(129, 112, 174).

Aa

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

About this color

#8170AE is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.095 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.037 away. Black text reads best on it, at 4.86:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.86:1
White text4.31:1

Values

HEX#8170AE
RGBrgb(129, 112, 174)
HSLhsl(256, 28%, 56%)
OKLCHoklch(58.6% 0.095 296)

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 #8170AE 4.31:1 AA large text Lc -75.3 Fine for body text
Black text on #8170AE 4.86:1 AA Lc 34.2 Non-text elements, placeholder text
#8170AE text on white 4.31:1 AA large text Lc 69.8 Content text, not long reading
#8170AE text on black 4.86:1 AA Lc -31.8 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F1

    oklch(93.5% 0.012 296.3)

  3. Step 200

    200

    #DAD6E7

    oklch(88.4% 0.023 296.7)

  4. Step 300

    300

    #C2BCDA

    oklch(81% 0.042 294.6)

  5. Step 400

    400

    #A498C7

    oklch(70.7% 0.069 296.3)

  6. Step 500

    500

    #8E7FB9

    oklch(63.2% 0.087 295.7)

  7. Step 600

    600 (this color)

    #8170AE

    oklch(58.6% 0.095 296)

  8. Step 700

    700

    #65568D

    oklch(49.2% 0.088 295.5)

  9. Step 800

    800

    #534672

    oklch(42.7% 0.073 296.8)

  10. Step 900

    900

    #443B5C

    oklch(37.6% 0.056 296.1)

  11. Step 950

    950

    #282336

    oklch(27.1% 0.035 296)

Export this scale for Tailwind in the Tailwind colors tool

#8170AE 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)#607AB00.051
Deuteranopia (no green cones)#6379AC0.048
Tritanopia (no blue cones)#787A870.076
Achromatopsia (no color)#7A7A7A0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #8170AE

    #8170AE

    oklch(58.6% 0.095 296)

  • #79833D

    #79833D

    oklch(58.6% 0.095 116.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8170AE

    #8170AE

    oklch(58.6% 0.095 296)

  • #617AB5

    #617AB5

    oklch(58.5% 0.096 266)

  • #99689A

    #99689A

    oklch(58.6% 0.094 326)

Open the analogous palette in the generator

Split complementary

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

  • #8170AE

    #8170AE

    oklch(58.6% 0.095 296)

  • #957832

    #957832

    oklch(58.7% 0.095 86.4)

  • #558B59

    #558B59

    oklch(58.5% 0.095 145.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8170AE

    #8170AE

    oklch(58.6% 0.095 296)

  • #A76C42

    #A76C42

    oklch(58.5% 0.095 55.1)

  • #2D8E7A

    #2D8E7A

    oklch(58.5% 0.094 176.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8170AE

    #8170AE

    oklch(58.6% 0.095 296)

  • #AD655E

    #AD655E

    oklch(58.6% 0.094 26.2)

  • #79833D

    #79833D

    oklch(58.6% 0.095 116.1)

  • #1A8C98

    #1A8C98

    oklch(58.7% 0.095 206.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8170AE 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.