#A171AF

Closest named color: Soft Purple (#A66FB5). oklch(62% 0.106 318.4), rgb(161, 113, 175).

Aa

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

About this color

#A171AF is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.106 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.014 away. Black text reads best on it, at 5.49:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.49:1
White text3.82:1

Values

HEX#A171AF
RGBrgb(161, 113, 175)
HSLhsl(286, 28%, 56%)
OKLCHoklch(62% 0.106 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 #A171AF 3.82:1 AA large text Lc -71.1 Content text, not long reading
Black text on #A171AF 5.49:1 AA Lc 38.5 Non-text elements, placeholder text
#A171AF text on white 3.82:1 AA large text Lc 65.6 Content text, not long reading
#A171AF text on black 5.49:1 AA Lc -36.1 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7F0

    oklch(93.6% 0.014 318.7)

  3. Step 200

    200

    #E1D4E6

    oklch(88.6% 0.028 316.7)

  4. Step 300

    300

    #CFB7D6

    oklch(80.9% 0.05 318.5)

  5. Step 400

    400

    #B790C2

    oklch(70.7% 0.083 318.7)

  6. Step 500

    500 (this color)

    #A171AF

    oklch(62% 0.106 318.4)

  7. Step 600

    600

    #8F5C9E

    oklch(55.6% 0.114 318.3)

  8. Step 700

    700

    #7A4B87

    oklch(49% 0.107 318.7)

  9. Step 800

    800

    #633E6E

    oklch(42.7% 0.089 318.2)

  10. Step 900

    900

    #513559

    oklch(37.7% 0.069 318.5)

  11. Step 950

    950

    #2F1F34

    oklch(26.9% 0.044 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#A171AF 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)#697FB10.088
Deuteranopia (no green cones)#7484AD0.082
Tritanopia (no blue cones)#A178880.068
Achromatopsia (no color)#8282820.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #A171AF

    #A171AF

    oklch(62% 0.106 318.4)

  • #659556

    #659556

    oklch(61.9% 0.105 138.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A171AF

    #A171AF

    oklch(62% 0.106 318.4)

  • #847BC2

    #847BC2

    oklch(62% 0.106 288.7)

  • #B56B91

    #B56B91

    oklch(62.1% 0.105 348.5)

Open the analogous palette in the generator

Split complementary

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

  • #A171AF

    #A171AF

    oklch(62% 0.106 318.4)

  • #8C8B38

    #8C8B38

    oklch(62% 0.105 108.5)

  • #359A7A

    #359A7A

    oklch(61.9% 0.105 168.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A171AF

    #A171AF

    oklch(62% 0.106 318.4)

  • #A97E33

    #A97E33

    oklch(62.1% 0.106 78.3)

  • #00999D

    #00999D

    oklch(62% 0.105 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A171AF

    #A171AF

    oklch(62% 0.106 318.4)

  • #B9724B

    #B9724B

    oklch(62% 0.105 48.8)

  • #659556

    #659556

    oklch(61.9% 0.105 138.5)

  • #2F92B8

    #2F92B8

    oklch(62% 0.105 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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