#A1A2EB

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.9% 0.105 282.9), rgb(161, 162, 235).

Aa

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

About this color

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

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

Values

HEX#A1A2EB
RGBrgb(161, 162, 235)
HSLhsl(239, 65%, 78%)
OKLCHoklch(73.9% 0.105 282.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 #A1A2EB 2.36:1 Fails Lc -51.5 Large or bold text, headings
Black text on #A1A2EB 8.88:1 AAA Lc 57.4 Large or bold text, headings
#A1A2EB text on white 2.36:1 Fails Lc 46.6 Large or bold text, headings
#A1A2EB text on black 8.88:1 AAA Lc -55.5 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F7

    oklch(93.7% 0.019 282.8)

  3. Step 200

    200

    #D5D7F1

    oklch(88.6% 0.036 282.1)

  4. Step 300

    300

    #BABCEA

    oklch(80.9% 0.065 282.9)

  5. Step 400

    400 (this color)

    #A1A2EB

    oklch(73.9% 0.105 282.9)

  6. Step 500

    500

    #7F7DD7

    oklch(63.1% 0.133 282.9)

  7. Step 600

    600

    #6964C5

    oklch(55.5% 0.146 282.9)

  8. Step 700

    700

    #5853AA

    oklch(49.2% 0.135 282.8)

  9. Step 800

    800

    #48448A

    oklch(42.7% 0.113 283.1)

  10. Step 900

    900

    #3C3A6E

    oklch(37.7% 0.087 283.1)

  11. Step 950

    950

    #232240

    oklch(26.9% 0.055 283.6)

Export this scale for Tailwind in the Tailwind colors tool

#A1A2EB 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)#8DABEE0.032
Deuteranopia (no green cones)#8AA6E90.031
Tritanopia (no blue cones)#8EAFBC0.091
Achromatopsia (no color)#A8A8A80.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #A1A2EB

    #A1A2EB

    oklch(73.9% 0.105 282.9)

  • #B7AD5B

    #B7AD5B

    oklch(73.9% 0.105 102.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A1A2EB

    #A1A2EB

    oklch(73.9% 0.105 282.9)

  • #7AAEEB

    #7AAEEB

    oklch(73.8% 0.105 253.1)

  • #C297DA

    #C297DA

    oklch(74% 0.105 313.1)

Open the analogous palette in the generator

Split complementary

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

  • #A1A2EB

    #A1A2EB

    oklch(73.9% 0.105 282.9)

  • #D3A05C

    #D3A05C

    oklch(74% 0.105 72.9)

  • #91B973

    #91B973

    oklch(73.9% 0.105 132.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A1A2EB

    #A1A2EB

    oklch(73.9% 0.105 282.9)

  • #E39474

    #E39474

    oklch(73.9% 0.106 42.8)

  • #66BF97

    #66BF97

    oklch(73.8% 0.105 162.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A1A2EB

    #A1A2EB

    oklch(73.9% 0.105 282.9)

  • #E48E98

    #E48E98

    oklch(73.8% 0.105 12.4)

  • #B7AD5B

    #B7AD5B

    oklch(73.9% 0.105 102.4)

  • #49BFBD

    #49BFBD

    oklch(73.9% 0.104 193.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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