#8166AC

Closest named color: Dark Lavender (#856798). oklch(56.6% 0.109 300.8), rgb(129, 102, 172).

Aa

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

About this color

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

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

Values

HEX#8166AC
RGBrgb(129, 102, 172)
HSLhsl(263, 30%, 54%)
OKLCHoklch(56.6% 0.109 300.8)

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 #8166AC 4.74:1 AA Lc -78.3 Fine for body text
Black text on #8166AC 4.42:1 AA large text Lc 31.3 Non-text elements, placeholder text
#8166AC text on white 4.74:1 AA Lc 72.8 Content text, not long reading
#8166AC text on black 4.42:1 AA large text Lc -28.9 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DCD5E9

    oklch(88.5% 0.028 301.7)

  4. Step 300

    300

    #C5BADC

    oklch(80.9% 0.049 300.1)

  5. Step 400

    400

    #A896CA

    oklch(70.7% 0.077 300.3)

  6. Step 500

    500

    #937BBD

    oklch(63.1% 0.1 300.3)

  7. Step 600

    600 (this color)

    #8166AC

    oklch(56.6% 0.109 300.8)

  8. Step 700

    700

    #6A5291

    oklch(49.1% 0.101 300.3)

  9. Step 800

    800

    #574376

    oklch(42.7% 0.085 300.9)

  10. Step 900

    900

    #47395F

    oklch(37.7% 0.065 300.2)

  11. Step 950

    950

    #2A2238

    oklch(27.2% 0.041 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#8166AC 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)#5473AF0.069
Deuteranopia (no green cones)#5973AA0.065
Tritanopia (no blue cones)#7972810.085
Achromatopsia (no color)#7373730.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #8166AC

    #8166AC

    oklch(56.6% 0.109 300.8)

  • #6D7F2E

    #6D7F2E

    oklch(56.5% 0.108 120.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8166AC

    #8166AC

    oklch(56.6% 0.109 300.8)

  • #5E72B6

    #5E72B6

    oklch(56.7% 0.108 270.3)

  • #9A5D94

    #9A5D94

    oklch(56.6% 0.109 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #8166AC

    #8166AC

    oklch(56.6% 0.109 300.8)

  • #8E7315

    #8E7315

    oklch(56.6% 0.109 91.2)

  • #3F8854

    #3F8854

    oklch(56.6% 0.109 150.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8166AC

    #8166AC

    oklch(56.6% 0.109 300.8)

  • #A4652A

    #A4652A

    oklch(56.5% 0.109 60.4)

  • #008979

    #008979

    oklch(56.5% 0.102 180.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8166AC

    #8166AC

    oklch(56.6% 0.109 300.8)

  • #AD5C4E

    #AD5C4E

    oklch(56.7% 0.109 31)

  • #6D7F2E

    #6D7F2E

    oklch(56.5% 0.108 120.6)

  • #008597

    #008597

    oklch(56.6% 0.098 211.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8166AC 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.