#A8A2EC

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.5% 0.106 287.2), rgb(168, 162, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text9.04:1
White text2.32:1

Values

HEX#A8A2EC
RGBrgb(168, 162, 236)
HSLhsl(245, 66%, 78%)
OKLCHoklch(74.5% 0.106 287.2)

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 #A8A2EC 2.32:1 Fails Lc -50.6 Large or bold text, headings
Black text on #A8A2EC 9.04:1 AAA Lc 58.2 Large or bold text, headings
#A8A2EC text on white 2.32:1 Fails Lc 45.7 Large or bold text, headings
#A8A2EC text on black 9.04:1 AAA Lc -56.3 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

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D7D6F1

    oklch(88.5% 0.037 287.3)

  4. Step 300

    300

    #BDBBEA

    oklch(81% 0.066 286.8)

  5. Step 400

    400 (this color)

    #A8A2EC

    oklch(74.5% 0.106 287.2)

  6. Step 500

    500

    #857BD6

    oklch(63.2% 0.134 286.9)

  7. Step 600

    600

    #7062C3

    oklch(55.6% 0.146 287.3)

  8. Step 700

    700

    #5E50A9

    oklch(49% 0.137 287.4)

  9. Step 800

    800

    #4D4289

    oklch(42.7% 0.114 287.7)

  10. Step 900

    900

    #3F396D

    oklch(37.7% 0.087 286.7)

  11. Step 950

    950

    #252140

    oklch(26.9% 0.057 287.9)

Export this scale for Tailwind in the Tailwind colors tool

#A8A2EC 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)#8DACEF0.041
Deuteranopia (no green cones)#8CA8EA0.039
Tritanopia (no blue cones)#98AFBD0.090
Achromatopsia (no color)#AAAAAA0.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A2EC

    #A8A2EC

    oklch(74.5% 0.106 287.2)

  • #B4B15E

    #B4B15E

    oklch(74.5% 0.106 106.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A2EC

    #A8A2EC

    oklch(74.5% 0.106 287.2)

  • #81AEEF

    #81AEEF

    oklch(74.4% 0.106 257.5)

  • #C897D9

    #C897D9

    oklch(74.5% 0.107 317.2)

Open the analogous palette in the generator

Split complementary

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

  • #A8A2EC

    #A8A2EC

    oklch(74.5% 0.106 287.2)

  • #D2A45B

    #D2A45B

    oklch(74.6% 0.106 77.5)

  • #8CBC79

    #8CBC79

    oklch(74.4% 0.106 137.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A2EC

    #A8A2EC

    oklch(74.5% 0.106 287.2)

  • #E49771

    #E49771

    oklch(74.5% 0.107 46.9)

  • #62C29F

    #62C29F

    oklch(74.6% 0.106 167.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A2EC

    #A8A2EC

    oklch(74.5% 0.106 287.2)

  • #E79094

    #E79094

    oklch(74.4% 0.106 17)

  • #B4B15E

    #B4B15E

    oklch(74.5% 0.106 106.9)

  • #48C1C4

    #48C1C4

    oklch(74.6% 0.106 197.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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