#A8A2E5

Closest named color: Pale Purple (#B790D4). oklch(74.2% 0.096 287.9), rgb(168, 162, 229).

Aa

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

About this color

#A8A2E5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.096 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.049 away. Black text reads best on it, at 8.96:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest namePale Purple (#B790D4)
Black text8.96:1
White text2.34:1

Values

HEX#A8A2E5
RGBrgb(168, 162, 229)
HSLhsl(245, 56%, 77%)
OKLCHoklch(74.2% 0.096 287.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 #A8A2E5 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #A8A2E5 8.96:1 AAA Lc 57.8 Large or bold text, headings
#A8A2E5 text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#A8A2E5 text on black 8.96:1 AAA Lc -55.9 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

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D7D6EF

    oklch(88.5% 0.034 287.5)

  4. Step 300

    300

    #BEBBE6

    oklch(80.9% 0.06 288.2)

  5. Step 400

    400 (this color)

    #A8A2E5

    oklch(74.2% 0.096 287.9)

  6. Step 500

    500

    #867CCF

    oklch(63% 0.123 287.9)

  7. Step 600

    600

    #7164BC

    oklch(55.6% 0.133 288.1)

  8. Step 700

    700

    #5F52A2

    oklch(49.1% 0.124 288.4)

  9. Step 800

    800

    #4D4483

    oklch(42.7% 0.102 287.8)

  10. Step 900

    900

    #403A69

    oklch(37.8% 0.079 287.9)

  11. Step 950

    950

    #25223E

    oklch(27% 0.051 287.4)

Export this scale for Tailwind in the Tailwind colors tool

#A8A2E5 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)#90ABE80.037
Deuteranopia (no green cones)#8FA8E30.036
Tritanopia (no blue cones)#9AAEBA0.082
Achromatopsia (no color)#A9A9A90.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A2E5

    #A8A2E5

    oklch(74.2% 0.096 287.9)

  • #B1B067

    #B1B067

    oklch(74.2% 0.095 107.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A2E5

    #A8A2E5

    oklch(74.2% 0.096 287.9)

  • #85ADE8

    #85ADE8

    oklch(74.1% 0.096 258)

  • #C598D3

    #C598D3

    oklch(74.1% 0.096 318)

Open the analogous palette in the generator

Split complementary

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

  • #A8A2E5

    #A8A2E5

    oklch(74.2% 0.096 287.9)

  • #CDA463

    #CDA463

    oklch(74.2% 0.096 78)

  • #8EBA7E

    #8EBA7E

    oklch(74.2% 0.096 137.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A2E5

    #A8A2E5

    oklch(74.2% 0.096 287.9)

  • #DE9976

    #DE9976

    oklch(74.3% 0.096 47.7)

  • #6ABFA0

    #6ABFA0

    oklch(74.2% 0.095 168.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A2E5

    #A8A2E5

    oklch(74.2% 0.096 287.9)

  • #E29395

    #E29395

    oklch(74.3% 0.096 18)

  • #B1B067

    #B1B067

    oklch(74.2% 0.095 107.8)

  • #56BEC1

    #56BEC1

    oklch(74.2% 0.096 197.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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