#A8A1EE

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.4% 0.11 287.6), rgb(168, 161, 238).

Aa

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

About this color

#A8A1EE is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.110 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.048 away. Black text reads best on it, at 8.99:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.99:1
White text2.33:1

Values

HEX#A8A1EE
RGBrgb(168, 161, 238)
HSLhsl(245, 69%, 78%)
OKLCHoklch(74.4% 0.11 287.6)

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 #A8A1EE 2.33:1 Fails Lc -50.9 Large or bold text, headings
Black text on #A8A1EE 8.99:1 AAA Lc 58.0 Large or bold text, headings
#A8A1EE text on white 2.33:1 Fails Lc 46.0 Large or bold text, headings
#A8A1EE text on black 8.99:1 AAA Lc -56.1 Large or bold text, headings

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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D7D6F2

    oklch(88.6% 0.038 287.2)

  4. Step 300

    300

    #BDBAEB

    oklch(80.8% 0.069 287.6)

  5. Step 400

    400 (this color)

    #A8A1EE

    oklch(74.4% 0.11 287.6)

  6. Step 500

    500

    #8679D9

    oklch(63% 0.141 287.9)

  7. Step 600

    600

    #7060C6

    oklch(55.4% 0.153 287.5)

  8. Step 700

    700

    #5E4FAB

    oklch(49% 0.142 287.5)

  9. Step 800

    800

    #4D418B

    oklch(42.6% 0.118 287.7)

  10. Step 900

    900

    #40386F

    oklch(37.7% 0.092 287.9)

  11. Step 950

    950

    #252141

    oklch(27% 0.058 287.5)

Export this scale for Tailwind in the Tailwind colors tool

#A8A1EE 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)#8BACF10.044
Deuteranopia (no green cones)#8AA8EC0.042
Tritanopia (no blue cones)#97AFBD0.094
Achromatopsia (no color)#AAAAAA0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A1EE

    #A8A1EE

    oklch(74.4% 0.11 287.6)

  • #B3B15A

    #B3B15A

    oklch(74.4% 0.11 107.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A1EE

    #A8A1EE

    oklch(74.4% 0.11 287.6)

  • #7FAEF1

    #7FAEF1

    oklch(74.4% 0.11 257.3)

  • #C996DA

    #C996DA

    oklch(74.5% 0.11 317.5)

Open the analogous palette in the generator

Split complementary

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

  • #A8A1EE

    #A8A1EE

    oklch(74.4% 0.11 287.6)

  • #D3A356

    #D3A356

    oklch(74.5% 0.111 77.5)

  • #8ABD77

    #8ABD77

    oklch(74.5% 0.111 137.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A1EE

    #A8A1EE

    oklch(74.4% 0.11 287.6)

  • #E5966E

    #E5966E

    oklch(74.4% 0.11 47.4)

  • #5DC29E

    #5DC29E

    oklch(74.3% 0.109 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A1EE

    #A8A1EE

    oklch(74.4% 0.11 287.6)

  • #E98F92

    #E98F92

    oklch(74.4% 0.11 17.9)

  • #B3B15A

    #B3B15A

    oklch(74.4% 0.11 107.6)

  • #40C1C5

    #40C1C5

    oklch(74.4% 0.11 198.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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