#A170B2

Closest named color: Soft Purple (#A66FB5). oklch(62% 0.111 317.1), rgb(161, 112, 178).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.47:1
White text3.83:1

Values

HEX#A170B2
RGBrgb(161, 112, 178)
HSLhsl(285, 30%, 57%)
OKLCHoklch(62% 0.111 317.1)

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 #A170B2 3.83:1 AA large text Lc -71.2 Content text, not long reading
Black text on #A170B2 5.47:1 AA Lc 38.4 Non-text elements, placeholder text
#A170B2 text on white 3.83:1 AA large text Lc 65.7 Content text, not long reading
#A170B2 text on black 5.47:1 AA Lc -35.9 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

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E1D3E7

    oklch(88.4% 0.031 315.9)

  4. Step 300

    300

    #CFB6D8

    oklch(80.8% 0.054 317.1)

  5. Step 400

    400

    #B790C5

    oklch(70.8% 0.087 317)

  6. Step 500

    500 (this color)

    #A170B2

    oklch(62% 0.111 317.1)

  7. Step 600

    600

    #8F5BA1

    oklch(55.5% 0.119 317)

  8. Step 700

    700

    #7A4A8A

    oklch(49% 0.112 317.3)

  9. Step 800

    800

    #633D70

    oklch(42.6% 0.093 317.1)

  10. Step 900

    900

    #51355B

    oklch(37.8% 0.072 316.8)

  11. Step 950

    950

    #2F1F35

    oklch(26.9% 0.045 316.5)

Export this scale for Tailwind in the Tailwind colors tool

#A170B2 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)#667FB40.092
Deuteranopia (no green cones)#7284B00.085
Tritanopia (no blue cones)#A178890.072
Achromatopsia (no color)#8282820.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #A170B2

    #A170B2

    oklch(62% 0.111 317.1)

  • #659551

    #659551

    oklch(61.9% 0.11 137.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A170B2

    #A170B2

    oklch(62% 0.111 317.1)

  • #827BC5

    #827BC5

    oklch(62% 0.11 287.1)

  • #B66993

    #B66993

    oklch(62% 0.111 346.9)

Open the analogous palette in the generator

Split complementary

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

  • #A170B2

    #A170B2

    oklch(62% 0.111 317.1)

  • #8E8A30

    #8E8A30

    oklch(61.9% 0.111 106.8)

  • #2F9B78

    #2F9B78

    oklch(62% 0.111 167.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A170B2

    #A170B2

    oklch(62% 0.111 317.1)

  • #AB7C2C

    #AB7C2C

    oklch(61.9% 0.111 76.9)

  • #00999C

    #00999C

    oklch(61.9% 0.105 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A170B2

    #A170B2

    oklch(62% 0.111 317.1)

  • #BC7049

    #BC7049

    oklch(62% 0.11 47.1)

  • #659551

    #659551

    oklch(61.9% 0.11 137.1)

  • #2293BA

    #2293BA

    oklch(62.1% 0.111 227)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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