#A17FDF

Closest named color: Perrywinkle (#8F8CE7). oklch(66.8% 0.142 298.8), rgb(161, 127, 223).

Aa

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

About this color

#A17FDF is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.142 and its hue 299°. 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.61:1.

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

Values

HEX#A17FDF
RGBrgb(161, 127, 223)
HSLhsl(261, 60%, 69%)
OKLCHoklch(66.8% 0.142 298.8)

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 #A17FDF 3.17:1 AA large text Lc -64.2 Content text, not long reading
Black text on #A17FDF 6.61:1 AA Lc 45.3 Large or bold text, headings
#A17FDF text on white 3.17:1 AA large text Lc 58.7 Large or bold text, headings
#A17FDF text on black 6.61:1 AA Lc -43.0 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F6

    oklch(93.5% 0.021 298.2)

  3. Step 200

    200

    #DCD4F0

    oklch(88.5% 0.039 298.7)

  4. Step 300

    300

    #C6B7E8

    oklch(80.8% 0.07 298.8)

  5. Step 400

    400

    #AA91DC

    oklch(70.7% 0.11 298.9)

  6. Step 500

    500 (this color)

    #A17FDF

    oklch(66.8% 0.142 298.8)

  7. Step 600

    600

    #815AC0

    oklch(55.6% 0.155 298.9)

  8. Step 700

    700

    #6D49A5

    oklch(49% 0.143 299.1)

  9. Step 800

    800

    #593D86

    oklch(42.8% 0.118 299)

  10. Step 900

    900

    #49356B

    oklch(37.8% 0.091 299.1)

  11. Step 950

    950

    #2A1F3F

    oklch(26.9% 0.059 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#A17FDF 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)#6490E30.087
Deuteranopia (no green cones)#6A90DD0.083
Tritanopia (no blue cones)#9590A40.112
Achromatopsia (no color)#9090900.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #A17FDF

    #A17FDF

    oklch(66.8% 0.142 298.8)

  • #8CA028

    #8CA028

    oklch(66.8% 0.142 118.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A17FDF

    #A17FDF

    oklch(66.8% 0.142 298.8)

  • #718FEB

    #718FEB

    oklch(66.8% 0.141 268.8)

  • #C372BF

    #C372BF

    oklch(66.7% 0.142 328.8)

Open the analogous palette in the generator

Split complementary

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

  • #A17FDF

    #A17FDF

    oklch(66.8% 0.142 298.8)

  • #B78F00

    #B78F00

    oklch(66.9% 0.137 88.7)

  • #4CAC62

    #4CAC62

    oklch(66.8% 0.141 148.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A17FDF

    #A17FDF

    oklch(66.8% 0.142 298.8)

  • #D37C2A

    #D37C2A

    oklch(66.8% 0.141 58.9)

  • #00AD96

    #00AD96

    oklch(66.9% 0.123 178.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A17FDF

    #A17FDF

    oklch(66.8% 0.142 298.8)

  • #DE6F61

    #DE6F61

    oklch(66.8% 0.141 28.8)

  • #8CA028

    #8CA028

    oklch(66.8% 0.142 118.8)

  • #00A7BA

    #00A7BA

    oklch(66.7% 0.115 209)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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