#A17BFE

Closest named color: Periwinkle (#8E82FE). oklch(67.9% 0.187 294.2), rgb(161, 123, 254).

Aa

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

About this color

#A17BFE is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.187 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.031 away. Black text reads best on it, at 6.77:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.187)
Temperaturein between
Nearest namePeriwinkle (#8E82FE)
Black text6.77:1
White text3.09:1

Values

HEX#A17BFE
RGBrgb(161, 123, 254)
HSLhsl(257, 98%, 74%)
OKLCHoklch(67.9% 0.187 294.2)

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 #A17BFE 3.09:1 AA large text Lc -63.1 Content text, not long reading
Black text on #A17BFE 6.77:1 AA Lc 46.4 Large or bold text, headings
#A17BFE text on white 3.09:1 AA large text Lc 57.7 Large or bold text, headings
#A17BFE text on black 6.77:1 AA Lc -44.1 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

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FF

    oklch(93.6% 0.034 294.9)

  3. Step 200

    200

    #DBD2FF

    oklch(88.5% 0.062 294.3)

  4. Step 300

    300

    #C4B3FF

    oklch(80.8% 0.107 294.1)

  5. Step 400

    400 (this color)

    #A17BFE

    oklch(67.9% 0.187 294.2)

  6. Step 500

    500

    #9662FF

    oklch(63.1% 0.222 294.4)

  7. Step 600

    600

    #8437F8

    oklch(55.6% 0.261 294.2)

  8. Step 700

    700

    #7025D8

    oklch(49.1% 0.243 294.2)

  9. Step 800

    800

    #5B23AE

    oklch(42.6% 0.2 294.4)

  10. Step 900

    900

    #4A258A

    oklch(37.7% 0.157 294.3)

  11. Step 950

    950

    #2B1851

    oklch(27.1% 0.099 294.1)

Export this scale for Tailwind in the Tailwind colors tool

#A17BFE 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)#4594FF0.117
Deuteranopia (no green cones)#4E90FB0.109
Tritanopia (no blue cones)#8A95B10.150
Achromatopsia (no color)#9292920.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #A17BFE

    #A17BFE

    oklch(67.9% 0.187 294.2)

  • #97A100

    #97A100

    oklch(67.8% 0.153 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A17BFE

    #A17BFE

    oklch(67.9% 0.187 294.2)

  • #6293FF

    #6293FF

    oklch(68% 0.168 264.1)

  • #CF69D8

    #CF69D8

    oklch(68% 0.188 324.3)

Open the analogous palette in the generator

Split complementary

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

  • #A17BFE

    #A17BFE

    oklch(67.9% 0.187 294.2)

  • #C08F00

    #C08F00

    oklch(67.9% 0.139 84.1)

  • #3AB443

    #3AB443

    oklch(67.9% 0.187 144.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A17BFE

    #A17BFE

    oklch(67.9% 0.187 294.2)

  • #E57500

    #E57500

    oklch(67.9% 0.17 54.3)

  • #00B192

    #00B192

    oklch(67.8% 0.129 174.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A17BFE

    #A17BFE

    oklch(67.9% 0.187 294.2)

  • #F65E5C

    #F65E5C

    oklch(67.9% 0.187 24.2)

  • #97A100

    #97A100

    oklch(67.8% 0.153 114.1)

  • #00ACB9

    #00ACB9

    oklch(67.9% 0.116 204.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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