#A17EEA

Closest named color: Periwinkle (#8E82FE). oklch(67.2% 0.158 296.9), rgb(161, 126, 234).

Aa

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

About this color

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

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

Values

HEX#A17EEA
RGBrgb(161, 126, 234)
HSLhsl(259, 72%, 71%)
OKLCHoklch(67.2% 0.158 296.9)

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 #A17EEA 3.14:1 AA large text Lc -63.7 Content text, not long reading
Black text on #A17EEA 6.68:1 AA Lc 45.8 Large or bold text, headings
#A17EEA text on white 3.14:1 AA large text Lc 58.3 Large or bold text, headings
#A17EEA text on black 6.68:1 AA Lc -43.5 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD2FA

    oklch(88.4% 0.055 296.7)

  4. Step 300

    300

    #C7B4F9

    oklch(81% 0.098 296.8)

  5. Step 400

    400 (this color)

    #A17EEA

    oklch(67.2% 0.158 296.9)

  6. Step 500

    500

    #9966F2

    oklch(63.1% 0.202 297)

  7. Step 600

    600

    #8548E0

    oklch(55.6% 0.218 297.1)

  8. Step 700

    700

    #7137C3

    oklch(49.1% 0.204 297.1)

  9. Step 800

    800

    #5B309E

    oklch(42.7% 0.168 296.5)

  10. Step 900

    900

    #4B2C7D

    oklch(37.7% 0.131 297.3)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#A17EEA 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)#5B92EE0.097
Deuteranopia (no green cones)#6290E70.091
Tritanopia (no blue cones)#9192A90.125
Achromatopsia (no color)#9191910.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #A17EEA

    #A17EEA

    oklch(67.2% 0.158 296.9)

  • #90A100

    #90A100

    oklch(67.2% 0.155 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A17EEA

    #A17EEA

    oklch(67.2% 0.158 296.9)

  • #6A90F6

    #6A90F6

    oklch(67.3% 0.157 266.8)

  • #C76FC8

    #C76FC8

    oklch(67.1% 0.158 326.8)

Open the analogous palette in the generator

Split complementary

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

  • #A17EEA

    #A17EEA

    oklch(67.2% 0.158 296.9)

  • #BA8F00

    #BA8F00

    oklch(67.2% 0.137 87.1)

  • #46AF58

    #46AF58

    oklch(67.2% 0.158 146.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A17EEA

    #A17EEA

    oklch(67.2% 0.158 296.9)

  • #DC7814

    #DC7814

    oklch(67.2% 0.157 56.9)

  • #00AE94

    #00AE94

    oklch(67.1% 0.125 176.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A17EEA

    #A17EEA

    oklch(67.2% 0.158 296.9)

  • #E76A5F

    #E76A5F

    oklch(67.3% 0.158 27.2)

  • #90A100

    #90A100

    oklch(67.2% 0.155 117)

  • #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 #A17EEA, closest first.

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

Similar named colors

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

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