#A171BA

Closest named color: Soft Purple (#A66FB5). oklch(62.5% 0.118 313.4), rgb(161, 113, 186).

Aa

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

About this color

#A171BA is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.118 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.011 away. Black text reads best on it, at 5.58:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.58:1
White text3.75:1

Values

HEX#A171BA
RGBrgb(161, 113, 186)
HSLhsl(279, 35%, 59%)
OKLCHoklch(62.5% 0.118 313.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 #A171BA 3.75:1 AA large text Lc -70.5 Content text, not long reading
Black text on #A171BA 5.58:1 AA Lc 39.1 Non-text elements, placeholder text
#A171BA text on white 3.75:1 AA large text Lc 65.0 Content text, not long reading
#A171BA text on black 5.58:1 AA Lc -36.7 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E1D3E9

    oklch(88.5% 0.033 313.5)

  4. Step 300

    300

    #CEB6DC

    oklch(80.9% 0.059 313.1)

  5. Step 400

    400

    #B58FCA

    oklch(70.6% 0.094 313.2)

  6. Step 500

    500 (this color)

    #A171BA

    oklch(62.5% 0.118 313.4)

  7. Step 600

    600

    #8E5AA8

    oklch(55.6% 0.129 313.6)

  8. Step 700

    700

    #784990

    oklch(49% 0.12 313.3)

  9. Step 800

    800

    #623D75

    oklch(42.8% 0.099 313.3)

  10. Step 900

    900

    #50345E

    oklch(37.6% 0.077 313.7)

  11. Step 950

    950

    #2F1F37

    oklch(27% 0.048 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#A171BA 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)#6481BD0.094
Deuteranopia (no green cones)#7085B80.086
Tritanopia (no blue cones)#9F7B8D0.081
Achromatopsia (no color)#8484840.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #A171BA

    #A171BA

    oklch(62.5% 0.118 313.4)

  • #6A9749

    #6A9749

    oklch(62.5% 0.119 133.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A171BA

    #A171BA

    oklch(62.5% 0.118 313.4)

  • #7F7DCD

    #7F7DCD

    oklch(62.6% 0.119 283.5)

  • #B9699A

    #B9699A

    oklch(62.6% 0.119 343.6)

Open the analogous palette in the generator

Split complementary

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

  • #A171BA

    #A171BA

    oklch(62.5% 0.118 313.4)

  • #958A25

    #958A25

    oklch(62.5% 0.118 102.9)

  • #2E9E73

    #2E9E73

    oklch(62.6% 0.119 163.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A171BA

    #A171BA

    oklch(62.5% 0.118 313.4)

  • #B27B26

    #B27B26

    oklch(62.5% 0.118 73.4)

  • #009B9A

    #009B9A

    oklch(62.4% 0.107 194)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A171BA

    #A171BA

    oklch(62.5% 0.118 313.4)

  • #C26E4A

    #C26E4A

    oklch(62.5% 0.118 43.4)

  • #6A9749

    #6A9749

    oklch(62.5% 0.119 133.5)

  • #0096BB

    #0096BB

    oklch(62.5% 0.117 223.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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