#A166AD

Closest named color: Dark Lilac (#9C6DA5). oklch(60% 0.123 320.7), rgb(161, 102, 173).

Aa

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

About this color

#A166AD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.123 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.025 away. Black text reads best on it, at 5.01:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.01:1
White text4.18:1

Values

HEX#A166AD
RGBrgb(161, 102, 173)
HSLhsl(290, 30%, 54%)
OKLCHoklch(60% 0.123 320.7)

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 #A166AD 4.18:1 AA large text Lc -74.1 Content text, not long reading
Black text on #A166AD 5.01:1 AA Lc 35.4 Non-text elements, placeholder text
#A166AD text on white 4.18:1 AA large text Lc 68.6 Content text, not long reading
#A166AD text on black 5.01:1 AA Lc -33.0 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 500.

  1. Step 50

    50

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E4D2E7

    oklch(88.5% 0.034 321.4)

  4. Step 300

    300

    #D3B4D9

    oklch(80.8% 0.061 320.8)

  5. Step 400

    400

    #BC8DC6

    oklch(70.8% 0.096 320.4)

  6. Step 500

    500 (this color)

    #A166AD

    oklch(60% 0.123 320.7)

  7. Step 600

    600

    #9656A3

    oklch(55.7% 0.134 320.7)

  8. Step 700

    700

    #80468B

    oklch(49.2% 0.124 321.1)

  9. Step 800

    800

    #683A71

    oklch(42.8% 0.103 320.9)

  10. Step 900

    900

    #54325B

    oklch(37.6% 0.08 320.6)

  11. Step 950

    950

    #321E36

    oklch(27.2% 0.051 320.8)

Export this scale for Tailwind in the Tailwind colors tool

#A166AD 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)#5D78B00.109
Deuteranopia (no green cones)#6C7EAB0.099
Tritanopia (no blue cones)#A26E810.077
Achromatopsia (no color)#7C7C7C0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #A166AD

    #A166AD

    oklch(60% 0.123 320.7)

  • #549249

    #549249

    oklch(60% 0.124 140.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A166AD

    #A166AD

    oklch(60% 0.123 320.7)

  • #8172C4

    #8172C4

    oklch(60.1% 0.123 290.6)

  • #B65F8A

    #B65F8A

    oklch(60% 0.123 350.5)

Open the analogous palette in the generator

Split complementary

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

  • #A166AD

    #A166AD

    oklch(60% 0.123 320.7)

  • #84861A

    #84861A

    oklch(59.9% 0.123 110.7)

  • #009676

    #009676

    oklch(59.9% 0.118 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A166AD

    #A166AD

    oklch(60% 0.123 320.7)

  • #A67704

    #A67704

    oklch(60.1% 0.123 80.7)

  • #009299

    #009299

    oklch(60% 0.102 200.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A166AD

    #A166AD

    oklch(60% 0.123 320.7)

  • #B96834

    #B96834

    oklch(60% 0.123 51)

  • #549249

    #549249

    oklch(60% 0.124 140.7)

  • #008CBA

    #008CBA

    oklch(60% 0.12 230.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #A166AD 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.