#8172AE

Closest named color: Dark Lavender (#856798). oklch(59% 0.091 294.9), rgb(129, 114, 174).

Aa

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

About this color

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

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

Values

HEX#8172AE
RGBrgb(129, 114, 174)
HSLhsl(255, 27%, 56%)
OKLCHoklch(59% 0.091 294.9)

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 #8172AE 4.24:1 AA large text Lc -74.7 Content text, not long reading
Black text on #8172AE 4.95:1 AA Lc 34.8 Non-text elements, placeholder text
#8172AE text on white 4.24:1 AA large text Lc 69.2 Content text, not long reading
#8172AE text on black 4.95:1 AA Lc -32.4 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  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

    #C2BCD9

    oklch(80.9% 0.041 295)

  5. Step 400

    400

    #A399C6

    oklch(70.7% 0.066 294.9)

  6. Step 500

    500

    #8D7FB7

    oklch(63% 0.084 295.4)

  7. Step 600

    600 (this color)

    #8172AE

    oklch(59% 0.091 294.9)

  8. Step 700

    700

    #64568C

    oklch(49% 0.086 295)

  9. Step 800

    800

    #524772

    oklch(42.8% 0.071 295)

  10. Step 900

    900

    #443C5C

    oklch(37.8% 0.055 295.1)

  11. Step 950

    950

    #282336

    oklch(27.1% 0.035 296)

Export this scale for Tailwind in the Tailwind colors tool

#8172AE 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)#637BB00.046
Deuteranopia (no green cones)#657AAC0.044
Tritanopia (no blue cones)#787C880.075
Achromatopsia (no color)#7B7B7B0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #8172AE

    #8172AE

    oklch(59% 0.091 294.9)

  • #7B8440

    #7B8440

    oklch(59% 0.093 115.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8172AE

    #8172AE

    oklch(59% 0.091 294.9)

  • #627CB4

    #627CB4

    oklch(59% 0.092 264.7)

  • #996A9B

    #996A9B

    oklch(59% 0.091 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #8172AE

    #8172AE

    oklch(59% 0.091 294.9)

  • #967937

    #967937

    oklch(59% 0.092 85.5)

  • #598C5B

    #598C5B

    oklch(59.1% 0.092 145.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8172AE

    #8172AE

    oklch(59% 0.091 294.9)

  • #A76E46

    #A76E46

    oklch(59% 0.091 55)

  • #358F7A

    #358F7A

    oklch(59% 0.091 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8172AE

    #8172AE

    oklch(59% 0.091 294.9)

  • #AD6761

    #AD6761

    oklch(59% 0.091 25.4)

  • #7B8440

    #7B8440

    oklch(59% 0.093 115.5)

  • #248D97

    #248D97

    oklch(59.1% 0.092 204.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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