#A1A2EF

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.1% 0.11 282.8), rgb(161, 162, 239).

Aa

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

About this color

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

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

Values

HEX#A1A2EF
RGBrgb(161, 162, 239)
HSLhsl(239, 71%, 78%)
OKLCHoklch(74.1% 0.11 282.8)

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 #A1A2EF 2.35:1 Fails Lc -51.2 Large or bold text, headings
Black text on #A1A2EF 8.92:1 AAA Lc 57.7 Large or bold text, headings
#A1A2EF text on white 2.35:1 Fails Lc 46.3 Large or bold text, headings
#A1A2EF text on black 8.92:1 AAA Lc -55.7 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F7

    oklch(93.5% 0.02 282.9)

  3. Step 200

    200

    #D5D7F2

    oklch(88.6% 0.037 282.2)

  4. Step 300

    300

    #B9BCED

    oklch(81% 0.069 282)

  5. Step 400

    400 (this color)

    #A1A2EF

    oklch(74.1% 0.11 282.8)

  6. Step 500

    500

    #7E7CDB

    oklch(63.1% 0.14 282.6)

  7. Step 600

    600

    #6963C9

    oklch(55.6% 0.153 282.9)

  8. Step 700

    700

    #5851AE

    oklch(49.1% 0.144 283.1)

  9. Step 800

    800

    #47438D

    oklch(42.6% 0.119 282.6)

  10. Step 900

    900

    #3B3970

    oklch(37.6% 0.092 282.7)

  11. Step 950

    950

    #232242

    oklch(27.1% 0.058 283.2)

Export this scale for Tailwind in the Tailwind colors tool

#A1A2EF 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)#8BACF20.035
Deuteranopia (no green cones)#88A6ED0.033
Tritanopia (no blue cones)#8DB0BE0.096
Achromatopsia (no color)#A9A9A90.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #A1A2EF

    #A1A2EF

    oklch(74.1% 0.11 282.8)

  • #B8AE56

    #B8AE56

    oklch(74.1% 0.111 102.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A1A2EF

    #A1A2EF

    oklch(74.1% 0.11 282.8)

  • #77AFEF

    #77AFEF

    oklch(74.1% 0.11 252.6)

  • #C396DD

    #C396DD

    oklch(74% 0.111 312.7)

Open the analogous palette in the generator

Split complementary

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

  • #A1A2EF

    #A1A2EF

    oklch(74.1% 0.11 282.8)

  • #D6A057

    #D6A057

    oklch(74.2% 0.111 72.9)

  • #90BA70

    #90BA70

    oklch(74.1% 0.11 132.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A1A2EF

    #A1A2EF

    oklch(74.1% 0.11 282.8)

  • #E69372

    #E69372

    oklch(74% 0.111 42.4)

  • #62C197

    #62C197

    oklch(74.1% 0.11 162.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A1A2EF

    #A1A2EF

    oklch(74.1% 0.11 282.8)

  • #E88D98

    #E88D98

    oklch(74.1% 0.111 12.3)

  • #B8AE56

    #B8AE56

    oklch(74.1% 0.111 102.8)

  • #3FC1BE

    #3FC1BE

    oklch(74.1% 0.111 192.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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