#A17FF8

Closest named color: Periwinkle (#8E82FE). oklch(68.2% 0.174 294.3), rgb(161, 127, 248).

Aa

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

About this color

#A17FF8 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.174 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.030 away. Black text reads best on it, at 6.90:1.

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

Values

HEX#A17FF8
RGBrgb(161, 127, 248)
HSLhsl(257, 90%, 74%)
OKLCHoklch(68.2% 0.174 294.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 #A17FF8 3.04:1 AA large text Lc -62.4 Content text, not long reading
Black text on #A17FF8 6.90:1 AA Lc 47.1 Large or bold text, headings
#A17FF8 text on white 3.04:1 AA large text Lc 57.0 Large or bold text, headings
#A17FF8 text on black 6.90:1 AA Lc -44.8 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

    #EBE6FD

    oklch(93.6% 0.031 295.8)

  3. Step 200

    200

    #DBD2FE

    oklch(88.5% 0.061 294.5)

  4. Step 300

    300

    #C4B3FF

    oklch(80.8% 0.107 294.1)

  5. Step 400

    400 (this color)

    #A17FF8

    oklch(68.2% 0.174 294.3)

  6. Step 500

    500

    #9662FF

    oklch(63.1% 0.222 294.4)

  7. Step 600

    600

    #8241EE

    oklch(55.6% 0.241 294.3)

  8. Step 700

    700

    #6E30D0

    oklch(49.1% 0.225 294)

  9. Step 800

    800

    #5A2AA8

    oklch(42.7% 0.187 294.4)

  10. Step 900

    900

    #492985

    oklch(37.7% 0.146 294.3)

  11. Step 950

    950

    #2A1A4E

    oklch(27% 0.091 293.5)

Export this scale for Tailwind in the Tailwind colors tool

#A17FF8 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)#5295FC0.105
Deuteranopia (no green cones)#5992F50.098
Tritanopia (no blue cones)#8C97B00.141
Achromatopsia (no color)#9494940.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #A17FF8

    #A17FF8

    oklch(68.2% 0.174 294.3)

  • #98A200

    #98A200

    oklch(68.1% 0.153 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A17FF8

    #A17FF8

    oklch(68.2% 0.174 294.3)

  • #6494FF

    #6494FF

    oklch(68.3% 0.166 264.3)

  • #CC6ED4

    #CC6ED4

    oklch(68.1% 0.174 324.3)

Open the analogous palette in the generator

Split complementary

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

  • #A17FF8

    #A17FF8

    oklch(68.2% 0.174 294.3)

  • #C19000

    #C19000

    oklch(68.2% 0.14 84.2)

  • #46B34C

    #46B34C

    oklch(68.1% 0.174 144.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A17FF8

    #A17FF8

    oklch(68.2% 0.174 294.3)

  • #E67600

    #E67600

    oklch(68.2% 0.17 54.5)

  • #00B293

    #00B293

    oklch(68.1% 0.129 174.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A17FF8

    #A17FF8

    oklch(68.2% 0.174 294.3)

  • #F16561

    #F16561

    oklch(68.2% 0.174 24.4)

  • #98A200

    #98A200

    oklch(68.1% 0.153 114.1)

  • #00ADBA

    #00ADBA

    oklch(68.2% 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 #A17FF8, closest first.

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

Similar named colors

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

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