#A17FE5

Closest named color: Perrywinkle (#8F8CE7). oklch(67.1% 0.15 297.6), rgb(161, 127, 229).

Aa

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

About this color

#A17FE5 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.150 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.039 away. Black text reads best on it, at 6.68:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.150)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text6.68:1
White text3.14:1

Values

HEX#A17FE5
RGBrgb(161, 127, 229)
HSLhsl(260, 66%, 70%)
OKLCHoklch(67.1% 0.15 297.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 #A17FE5 3.14:1 AA large text Lc -63.7 Content text, not long reading
Black text on #A17FE5 6.68:1 AA Lc 45.7 Large or bold text, headings
#A17FE5 text on white 3.14:1 AA large text Lc 58.3 Large or bold text, headings
#A17FE5 text on black 6.68:1 AA Lc -43.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 400.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FA

    oklch(93.5% 0.027 297.3)

  3. Step 200

    200

    #DDD2F8

    oklch(88.5% 0.053 298.5)

  4. Step 300

    300

    #C7B4F6

    oklch(80.9% 0.094 297.5)

  5. Step 400

    400 (this color)

    #A17FE5

    oklch(67.1% 0.15 297.6)

  6. Step 500

    500

    #9969EC

    oklch(63.2% 0.19 297.6)

  7. Step 600

    600

    #854BDA

    oklch(55.6% 0.208 297.9)

  8. Step 700

    700

    #713BBD

    oklch(49.1% 0.193 297.9)

  9. Step 800

    800

    #5B3299

    oklch(42.6% 0.16 297.4)

  10. Step 900

    900

    #4B2E7A

    oklch(37.8% 0.124 297.7)

  11. Step 950

    950

    #2C1C47

    oklch(27.1% 0.078 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#A17FE5 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)#6092E90.092
Deuteranopia (no green cones)#6790E20.086
Tritanopia (no blue cones)#9391A70.118
Achromatopsia (no color)#9191910.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #A17FE5

    #A17FE5

    oklch(67.1% 0.15 297.6)

  • #8FA117

    #8FA117

    oklch(67.2% 0.15 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A17FE5

    #A17FE5

    oklch(67.1% 0.15 297.6)

  • #6D90F1

    #6D90F1

    oklch(67.1% 0.149 267.4)

  • #C571C4

    #C571C4

    oklch(67% 0.15 327.5)

Open the analogous palette in the generator

Split complementary

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

  • #A17FE5

    #A17FE5

    oklch(67.1% 0.15 297.6)

  • #B98F00

    #B98F00

    oklch(67.1% 0.137 87.6)

  • #4AAE5D

    #4AAE5D

    oklch(67.2% 0.15 147.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A17FE5

    #A17FE5

    oklch(67.1% 0.15 297.6)

  • #D87A22

    #D87A22

    oklch(67.1% 0.149 57.4)

  • #00AE95

    #00AE95

    oklch(67.2% 0.124 177.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A17FE5

    #A17FE5

    oklch(67.1% 0.15 297.6)

  • #E36D61

    #E36D61

    oklch(67.2% 0.149 27.6)

  • #8FA117

    #8FA117

    oklch(67.2% 0.15 117.6)

  • #00A9BA

    #00A9BA

    oklch(67.2% 0.115 207.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A17FE5.

Similar named colors

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

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