#A17BD9

Closest named color: Medium Purple (#9370DB). oklch(65.8% 0.14 301.3), rgb(161, 123, 217).

Aa

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

About this color

#A17BD9 is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.140 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.038 away. Black text reads best on it, at 6.35:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.140)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.35:1
White text3.30:1

Values

HEX#A17BD9
RGBrgb(161, 123, 217)
HSLhsl(264, 55%, 67%)
OKLCHoklch(65.8% 0.14 301.3)

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 #A17BD9 3.30:1 AA large text Lc -65.7 Content text, not long reading
Black text on #A17BD9 6.35:1 AA Lc 43.8 Non-text elements, placeholder text
#A17BD9 text on white 3.30:1 AA large text Lc 60.3 Content text, not long reading
#A17BD9 text on black 6.35:1 AA Lc -41.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 500.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DDD4EF

    oklch(88.5% 0.038 300.8)

  4. Step 300

    300

    #C8B7E7

    oklch(81% 0.069 301.1)

  5. Step 400

    400

    #AC90DA

    oklch(70.6% 0.11 301)

  6. Step 500

    500 (this color)

    #A17BD9

    oklch(65.8% 0.14 301.3)

  7. Step 600

    600

    #8459BD

    oklch(55.6% 0.153 301.5)

  8. Step 700

    700

    #7049A3

    oklch(49.2% 0.141 301.4)

  9. Step 800

    800

    #5B3C84

    oklch(42.7% 0.118 301.5)

  10. Step 900

    900

    #4A346A

    oklch(37.6% 0.092 300.9)

  11. Step 950

    950

    #2B1F3E

    oklch(27% 0.058 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#A17BD9 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)#618DDC0.093
Deuteranopia (no green cones)#6A8DD70.085
Tritanopia (no blue cones)#978BA00.107
Achromatopsia (no color)#8D8D8D0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #A17BD9

    #A17BD9

    oklch(65.8% 0.14 301.3)

  • #859E2B

    #859E2B

    oklch(65.8% 0.14 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A17BD9

    #A17BD9

    oklch(65.8% 0.14 301.3)

  • #738AE7

    #738AE7

    oklch(65.7% 0.141 271.6)

  • #C26FB8

    #C26FB8

    oklch(65.8% 0.14 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #A17BD9

    #A17BD9

    oklch(65.8% 0.14 301.3)

  • #B08D00

    #B08D00

    oklch(65.7% 0.134 91.1)

  • #42A964

    #42A964

    oklch(65.7% 0.14 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A17BD9

    #A17BD9

    oklch(65.8% 0.14 301.3)

  • #CE7B22

    #CE7B22

    oklch(65.9% 0.14 61.5)

  • #00A996

    #00A996

    oklch(65.9% 0.119 181.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A17BD9

    #A17BD9

    oklch(65.8% 0.14 301.3)

  • #DA6D5A

    #DA6D5A

    oklch(65.9% 0.141 31.4)

  • #859E2B

    #859E2B

    oklch(65.8% 0.14 121.2)

  • #00A4B9

    #00A4B9

    oklch(65.9% 0.114 210.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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