#A166B4

Closest named color: Soft Purple (#A66FB5). oklch(60.4% 0.131 317.6), rgb(161, 102, 180).

Aa

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

About this color

#A166B4 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.131 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.025 away. Black text reads best on it, at 5.07:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.07:1
White text4.13:1

Values

HEX#A166B4
RGBrgb(161, 102, 180)
HSLhsl(285, 34%, 55%)
OKLCHoklch(60.4% 0.131 317.6)

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 #A166B4 4.13:1 AA large text Lc -73.8 Content text, not long reading
Black text on #A166B4 5.07:1 AA Lc 35.8 Non-text elements, placeholder text
#A166B4 text on white 4.13:1 AA large text Lc 68.3 Content text, not long reading
#A166B4 text on black 5.07:1 AA Lc -33.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 500.

  1. Step 50

    50

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E3D2E9

    oklch(88.4% 0.036 317.3)

  4. Step 300

    300

    #D2B4DC

    oklch(80.9% 0.064 317.6)

  5. Step 400

    400

    #BB8CCA

    oklch(70.6% 0.102 317.8)

  6. Step 500

    500 (this color)

    #A166B4

    oklch(60.4% 0.131 317.6)

  7. Step 600

    600

    #9555A9

    oklch(55.7% 0.142 317.7)

  8. Step 700

    700

    #7F4591

    oklch(49.2% 0.132 317.7)

  9. Step 800

    800

    #673976

    oklch(42.7% 0.11 317.3)

  10. Step 900

    900

    #54325F

    oklch(37.8% 0.085 317.5)

  11. Step 950

    950

    #311D38

    oklch(26.9% 0.055 317)

Export this scale for Tailwind in the Tailwind colors tool

#A166B4 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)#5979B70.113
Deuteranopia (no green cones)#697FB20.103
Tritanopia (no blue cones)#A170840.086
Achromatopsia (no color)#7D7D7D0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #A166B4

    #A166B4

    oklch(60.4% 0.131 317.6)

  • #589341

    #589341

    oklch(60.4% 0.131 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A166B4

    #A166B4

    oklch(60.4% 0.131 317.6)

  • #7E73CB

    #7E73CB

    oklch(60.4% 0.131 287.5)

  • #B85E90

    #B85E90

    oklch(60.4% 0.13 347.2)

Open the analogous palette in the generator

Split complementary

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

  • #A166B4

    #A166B4

    oklch(60.4% 0.131 317.6)

  • #8A8600

    #8A8600

    oklch(60.4% 0.13 107.6)

  • #009872

    #009872

    oklch(60.3% 0.123 167.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A166B4

    #A166B4

    oklch(60.4% 0.131 317.6)

  • #AA7600

    #AA7600

    oklch(60.4% 0.126 77.9)

  • #009497

    #009497

    oklch(60.5% 0.103 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A166B4

    #A166B4

    oklch(60.4% 0.131 317.6)

  • #BF6534

    #BF6534

    oklch(60.3% 0.131 47.1)

  • #589341

    #589341

    oklch(60.4% 0.131 137.7)

  • #008EB8

    #008EB8

    oklch(60.4% 0.117 227.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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