#A166B2

Closest named color: Soft Purple (#A66FB5). oklch(60.3% 0.129 318.4), rgb(161, 102, 178).

Aa

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

About this color

#A166B2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.129 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.024 away. Black text reads best on it, at 5.05:1.

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

Values

HEX#A166B2
RGBrgb(161, 102, 178)
HSLhsl(287, 33%, 55%)
OKLCHoklch(60.3% 0.129 318.4)

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 #A166B2 4.15:1 AA large text Lc -73.9 Content text, not long reading
Black text on #A166B2 5.05:1 AA Lc 35.7 Non-text elements, placeholder text
#A166B2 text on white 4.15:1 AA large text Lc 68.4 Content text, not long reading
#A166B2 text on black 5.05:1 AA Lc -33.3 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

    #E3D2E8

    oklch(88.4% 0.035 318.5)

  4. Step 300

    300

    #D2B4DB

    oklch(80.8% 0.063 318.3)

  5. Step 400

    400

    #BB8CC9

    oklch(70.6% 0.101 318.3)

  6. Step 500

    500 (this color)

    #A166B2

    oklch(60.3% 0.129 318.4)

  7. Step 600

    600

    #9555A7

    oklch(55.6% 0.14 318.5)

  8. Step 700

    700

    #7F458F

    oklch(49.1% 0.13 318.6)

  9. Step 800

    800

    #673974

    oklch(42.6% 0.107 318.5)

  10. Step 900

    900

    #54325E

    oklch(37.8% 0.083 318.3)

  11. Step 950

    950

    #311D37

    oklch(26.9% 0.054 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#A166B2 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)#5A78B50.112
Deuteranopia (no green cones)#6A7EB00.100
Tritanopia (no blue cones)#A170830.084
Achromatopsia (no color)#7C7C7C0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #A166B2

    #A166B2

    oklch(60.3% 0.129 318.4)

  • #579343

    #579343

    oklch(60.3% 0.129 138.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A166B2

    #A166B2

    oklch(60.3% 0.129 318.4)

  • #7F72C9

    #7F72C9

    oklch(60.2% 0.13 288.7)

  • #B85E8E

    #B85E8E

    oklch(60.3% 0.129 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #A166B2

    #A166B2

    oklch(60.3% 0.129 318.4)

  • #888606

    #888606

    oklch(60.2% 0.129 108.7)

  • #009874

    #009874

    oklch(60.4% 0.122 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A166B2

    #A166B2

    oklch(60.3% 0.129 318.4)

  • #A97600

    #A97600

    oklch(60.2% 0.125 78.5)

  • #009397

    #009397

    oklch(60.2% 0.102 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A166B2

    #A166B2

    oklch(60.3% 0.129 318.4)

  • #BD6634

    #BD6634

    oklch(60.2% 0.128 48.4)

  • #579343

    #579343

    oklch(60.3% 0.129 138.5)

  • #008DB8

    #008DB8

    oklch(60.1% 0.118 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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